diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-02 20:04:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-02 20:04:56 +0000 |
commit | c4bcbfbe216ca485637452f9060f439098e67ab9 (patch) | |
tree | 57c8ad84c0af7c6ee32b86dd866331b8990cda38 /src/util/server.c | |
parent | d1e691eb80325674451ce9cc1cc961fdab277c7a (diff) | |
download | gnunet-c4bcbfbe216ca485637452f9060f439098e67ab9.tar.gz gnunet-c4bcbfbe216ca485637452f9060f439098e67ab9.zip |
finally fix #3698
Diffstat (limited to 'src/util/server.c')
-rw-r--r-- | src/util/server.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/server.c b/src/util/server.c index 000e09e0f..1a4b73126 100644 --- a/src/util/server.c +++ b/src/util/server.c | |||
@@ -813,7 +813,8 @@ GNUNET_SERVER_destroy (struct GNUNET_SERVER_Handle *server) | |||
813 | } | 813 | } |
814 | while (NULL != (npos = server->disconnect_notify_list_head)) | 814 | while (NULL != (npos = server->disconnect_notify_list_head)) |
815 | { | 815 | { |
816 | npos->callback (npos->callback_cls, NULL); | 816 | npos->callback (npos->callback_cls, |
817 | NULL); | ||
817 | GNUNET_CONTAINER_DLL_remove (server->disconnect_notify_list_head, | 818 | GNUNET_CONTAINER_DLL_remove (server->disconnect_notify_list_head, |
818 | server->disconnect_notify_list_tail, | 819 | server->disconnect_notify_list_tail, |
819 | npos); | 820 | npos); |
@@ -821,7 +822,8 @@ GNUNET_SERVER_destroy (struct GNUNET_SERVER_Handle *server) | |||
821 | } | 822 | } |
822 | while (NULL != (npos = server->connect_notify_list_head)) | 823 | while (NULL != (npos = server->connect_notify_list_head)) |
823 | { | 824 | { |
824 | npos->callback (npos->callback_cls, NULL); | 825 | npos->callback (npos->callback_cls, |
826 | NULL); | ||
825 | GNUNET_CONTAINER_DLL_remove (server->connect_notify_list_head, | 827 | GNUNET_CONTAINER_DLL_remove (server->connect_notify_list_head, |
826 | server->connect_notify_list_tail, | 828 | server->connect_notify_list_tail, |
827 | npos); | 829 | npos); |