projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0aadc0c
)
better
author
Christian Grothoff
<christian@grothoff.org>
Tue, 18 May 2010 13:09:13 +0000
(13:09 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 18 May 2010 13:09:13 +0000
(13:09 +0000)
src/fs/gnunet-service-fs.c
patch
|
blob
|
history
diff --git
a/src/fs/gnunet-service-fs.c
b/src/fs/gnunet-service-fs.c
index ec588382d64810cd3e9a3859c038e9f165cf7965..fb5b9c84c9e410d62f2310a898a7ea089a720aad 100644
(file)
--- a/
src/fs/gnunet-service-fs.c
+++ b/
src/fs/gnunet-service-fs.c
@@
-1223,18
+1223,17
@@
peer_disconnect_handler (void *cls,
{
GNUNET_PEER_change_rc (pos->target_list[i], -1);
pos->target_list[i] = 0;
{
GNUNET_PEER_change_rc (pos->target_list[i], -1);
pos->target_list[i] = 0;
- if (pos->used_targets >= GNUNET_CONTAINER_multihashmap_size (connected_peers))
- {
- delete_migration_block (pos);
- consider_migration_gathering ();
- continue;
- }
- GNUNET_CONTAINER_multihashmap_iterate (connected_peers,
- &consider_migration,
- pos);
- break;
- }
+ }
+ }
+ if (pos->used_targets >= GNUNET_CONTAINER_multihashmap_size (connected_peers))
+ {
+ delete_migration_block (pos);
+ consider_migration_gathering ();
+ continue;
}
}
+ GNUNET_CONTAINER_multihashmap_iterate (connected_peers,
+ &consider_migration,
+ pos);
}
GNUNET_PEER_change_rc (cp->pid, -1);
}
GNUNET_PEER_change_rc (cp->pid, -1);