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:
1f5e1ee
)
reverting changes
author
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 3 Nov 2010 09:54:58 +0000
(09:54 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 3 Nov 2010 09:54:58 +0000
(09:54 +0000)
src/hostlist/hostlist-client.c
patch
|
blob
|
history
diff --git
a/src/hostlist/hostlist-client.c
b/src/hostlist/hostlist-client.c
index 418c363090b0696b74c1a314850b9ee20d824f08..e41c8ff18cb30921b12e353688d499a290d2b7f6 100644
(file)
--- a/
src/hostlist/hostlist-client.c
+++ b/
src/hostlist/hostlist-client.c
@@
-1177,13
+1177,7
@@
handler_disconnect (void *cls,
const struct
GNUNET_PeerIdentity * peer)
{
- /* GNUNET_assert (stat_connection_count > 0); */
- if (stat_connection_count == 0)
- {
- GNUNET_break_op (0);
- return;
- }
-
+ GNUNET_assert (stat_connection_count > 0);
stat_connection_count--;
GNUNET_STATISTICS_update (stats,
gettext_noop ("# active connections"),