X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/366656fc3ab4b06a170d4639a31ce8f64b15a387..b8892821525cf5204c842476d26f530ddcca4908:/examples/gras/ping/ping_server.c diff --git a/examples/gras/ping/ping_server.c b/examples/gras/ping/ping_server.c index 30dd4571c7..3e8b95b4b3 100644 --- a/examples/gras/ping/ping_server.c +++ b/examples/gras/ping/ping_server.c @@ -51,11 +51,8 @@ static int server_cb_ping_handler(gras_msg_cb_ctx_t ctx, void *payload) { /* 7. Set the endcondition boolean to true (and make sure the server stops after receiving it). */ globals->endcondition = 1; - - /* 8. Make sure we don't leak sockets */ - gras_socket_close(expeditor); - - /* 9. Tell GRAS that we consummed this message */ + + /* 8. Tell GRAS that we consummed this message */ return 0; } /* end_of_server_cb_ping_handler */