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:
5bb4b33
)
fixes
author
Christian Grothoff
<christian@grothoff.org>
Thu, 17 Jun 2010 22:47:04 +0000
(22:47 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 17 Jun 2010 22:47:04 +0000
(22:47 +0000)
src/util/server.c
patch
|
blob
|
history
diff --git
a/src/util/server.c
b/src/util/server.c
index 7c00bb782e09520105b624646218ea9a5fb94f46..8d880b26f486caef46d13b2902e1cf10f91538a5 100644
(file)
--- a/
src/util/server.c
+++ b/
src/util/server.c
@@
-1208,8
+1208,11
@@
GNUNET_SERVER_client_disconnect (struct GNUNET_SERVER_Client *client)
else
prev->next = pos->next;
if (client->restart_task != GNUNET_SCHEDULER_NO_TASK)
- GNUNET_SCHEDULER_cancel (server->sched,
- client->restart_task);
+ {
+ GNUNET_SCHEDULER_cancel (server->sched,
+ client->restart_task);
+ client->restart_task = GNUNET_SCHEDULER_NO_TASK;
+ }
n = server->disconnect_notify_list;
while (n != NULL)
{