diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-01-22 15:14:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-01-22 15:14:39 +0000 |
commit | 87487477c67697355c79d2fe079d23a5b31c7ab6 (patch) | |
tree | d4a0754426c7887e9e4a5f8cd8c6a99eb66d0a05 /src/util/test_server_disconnect.c | |
parent | 3f3d51ef20ae4ef5017ca92ed1f6e153322f3a95 (diff) | |
download | gnunet-87487477c67697355c79d2fe079d23a5b31c7ab6.tar.gz gnunet-87487477c67697355c79d2fe079d23a5b31c7ab6.zip |
updates to peerinfo to use new nc API
Diffstat (limited to 'src/util/test_server_disconnect.c')
-rw-r--r-- | src/util/test_server_disconnect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/test_server_disconnect.c b/src/util/test_server_disconnect.c index 76a73d348..b10719e73 100644 --- a/src/util/test_server_disconnect.c +++ b/src/util/test_server_disconnect.c | |||
@@ -138,6 +138,8 @@ disconnect_notify (void *cls, const struct GNUNET_MessageHeader *msg) | |||
138 | static void | 138 | static void |
139 | notify_disconnect (void *cls, struct GNUNET_SERVER_Client *clientarg) | 139 | notify_disconnect (void *cls, struct GNUNET_SERVER_Client *clientarg) |
140 | { | 140 | { |
141 | if (clientarg == NULL) | ||
142 | return; | ||
141 | GNUNET_assert (ok == 6); | 143 | GNUNET_assert (ok == 6); |
142 | ok++; | 144 | ok++; |
143 | GNUNET_CLIENT_receive (client, | 145 | GNUNET_CLIENT_receive (client, |