Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Eradicate fprintf, use proper logging function
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Jul 2004 01:49:31 +0000 (01:49 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 6 Jul 2004 01:49:31 +0000 (01:49 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@176 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/ping/ping.c

index d43603b..b27ecf3 100644 (file)
@@ -164,7 +164,7 @@ int client(int argc,char *argv[]) {
     port=atoi(argv[2]);
   } 
 
-  fprintf(stderr,"Launch client (server on %s:%d)",host,port);
+  INFO2("Launch client (server on %s:%d)",host,port);
   if (!gras_if_RL())
     gras_sleep(5,0); /* Wait for the server to be setup */
   if ((errcode=gras_socket_client(host,port,&(g->sock)))) {