From: mquinson Date: Wed, 6 Jun 2007 14:42:56 +0000 (+0000) Subject: Stop using the logs after they are shutdown X-Git-Tag: v3.3~1790 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/92bf4ba8e22e64dd7bb21dda3a5a113361073848?hp=4b70e717ae88822e3985f35e1c8f37bf330976a2 Stop using the logs after they are shutdown git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3570 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/gras/ping/ping_client.c b/examples/gras/ping/ping_client.c index d213bdb76e..c49642463c 100644 --- a/examples/gras/ping/ping_client.c +++ b/examples/gras/ping/ping_client.c @@ -78,7 +78,7 @@ int client(int argc,char *argv[]) { /* 10. Free the allocated resources, and shut GRAS down */ gras_socket_close(toserver); - gras_exit(); INFO0("Done."); + gras_exit(); return 0; } /* end_of_client */ diff --git a/examples/gras/ping/ping_server.c b/examples/gras/ping/ping_server.c index 29e853dba8..1fd2a7a375 100644 --- a/examples/gras/ping/ping_server.c +++ b/examples/gras/ping/ping_server.c @@ -99,8 +99,8 @@ int server (int argc,char *argv[]) { /* 8. Free the allocated resources, and shut GRAS down */ gras_socket_close(globals->sock); free(globals); + INFO0("Done."); gras_exit(); - INFO0("Done."); return 0; } /* end_of_server */