X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ec16845133f5f1b5262d2d77d8ba22824fa8a446..e961475b4dde3a8ca4f66a0986d6289085138128:/examples/gras/console/ping_client.c diff --git a/examples/gras/console/ping_client.c b/examples/gras/console/ping_client.c index 8489cc39b0..043fc260bf 100644 --- a/examples/gras/console/ping_client.c +++ b/examples/gras/console/ping_client.c @@ -62,7 +62,7 @@ int client(int argc, char *argv[]) TRY { gras_msg_send(toserver, "ping", &ping); } - CATCH(e) { + CATCH_ANONYMOUS { gras_socket_close(toserver); RETHROWF("Failed to send PING to server: %s"); } @@ -74,7 +74,7 @@ int client(int argc, char *argv[]) TRY { gras_msg_wait(6000, "pong", &from, &pong); } - CATCH(e) { + CATCH_ANONYMOUS { gras_socket_close(toserver); RETHROWF("Why can't I get my PONG message like everyone else: %s"); }