From: mquinson Date: Wed, 6 Jun 2007 14:18:11 +0000 (+0000) Subject: Stop using the logs when they are not ready anymore X-Git-Tag: v3.3~1791 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4b70e717ae88822e3985f35e1c8f37bf330976a2?hp=12442080c860b7affd1b246f12895bda4f304330 Stop using the logs when they are not ready anymore git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3569 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/gras/rpc/rpc.c b/examples/gras/rpc/rpc.c index 9be191dad7..32486390ee 100644 --- a/examples/gras/rpc/rpc.c +++ b/examples/gras/rpc/rpc.c @@ -199,8 +199,8 @@ int client(int argc,char *argv[]) { /* 11. Cleanup the place before leaving */ gras_socket_close(toserver); gras_socket_close(toforwarder); - gras_exit(); INFO0("Done."); + gras_exit(); return 0; } /* end_of_client */ @@ -262,8 +262,8 @@ int forwarder (int argc,char *argv[]) { gras_socket_close(mysock); gras_socket_close(fdata->server); free(fdata); - gras_exit(); INFO0("Done."); + gras_exit(); return 0; } @@ -382,9 +382,9 @@ int server (int argc,char *argv[]) { /* 8. Free the allocated resources, and shut GRAS down */ free(sdata); gras_socket_close(mysock); + INFO0("Done."); gras_exit(); - INFO0("Done."); return 0; } /* end_of_server */