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
Fix make dist
[simgrid.git]
/
examples
/
ping
/
ping.c
diff --git
a/examples/ping/ping.c
b/examples/ping/ping.c
index
b27ecf3
..
39ca8dd
100644
(file)
--- a/
examples/ping/ping.c
+++ b/
examples/ping/ping.c
@@
-126,10
+126,10
@@
int server (int argc,char *argv[]) {
if (!gras_if_RL())
gras_sleep(5,0);
- INFO0("SERVER: Done.");
gras_socket_close(g->sock);
free(g);
gras_exit();
+ INFO0("SERVER: Done.");
return no_error;
}
@@
-208,6
+208,7
@@
int client(int argc,char *argv[]) {
gras_socket_close(g->sock);
free(g);
+ gras_exit();
INFO0("Client: Done.");
return 0;
}