A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't bother trying to close the socket: gras reports it as unknown
[simgrid.git]
/
examples
/
gras
/
ping
/
ping_server.c
diff --git
a/examples/gras/ping/ping_server.c
b/examples/gras/ping/ping_server.c
index
30dd457
..
3e8b95b
100644
(file)
--- 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;
/* 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 */
return 0;
} /* end_of_server_cb_ping_handler */