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
Return 0 on failure.
[simgrid.git]
/
examples
/
c
/
dht-pastry
/
dht-pastry.c
diff --git
a/examples/c/dht-pastry/dht-pastry.c
b/examples/c/dht-pastry/dht-pastry.c
index 8953de4db22fc67527e435451c009323bd346603..9436930beee9b289c67d7a46b2a75172d761139b 100644
(file)
--- a/
examples/c/dht-pastry/dht-pastry.c
+++ b/
examples/c/dht-pastry/dht-pastry.c
@@
-424,6
+424,7
@@
static int join(const_node_t node)
if (err == SG_ERROR_TIMEOUT) {
XBT_DEBUG("Timeout expired when joining ring with node %d", node->known_id);
message_free(request);
+ return 0;
}
return 1;