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/fs | |
parent | 3f3d51ef20ae4ef5017ca92ed1f6e153322f3a95 (diff) | |
download | gnunet-87487477c67697355c79d2fe079d23a5b31c7ab6.tar.gz gnunet-87487477c67697355c79d2fe079d23a5b31c7ab6.zip |
updates to peerinfo to use new nc API
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/gnunet-service-fs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index 541f656c6..b8855632c 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -2273,6 +2273,8 @@ handle_client_disconnect (void *cls, | |||
2273 | struct ClientList *cprev; | 2273 | struct ClientList *cprev; |
2274 | struct ClientRequestList *rl; | 2274 | struct ClientRequestList *rl; |
2275 | 2275 | ||
2276 | if (client == NULL) | ||
2277 | return; | ||
2276 | lgc = lgc_head; | 2278 | lgc = lgc_head; |
2277 | while ( (NULL != lgc) && | 2279 | while ( (NULL != lgc) && |
2278 | (lgc->client != client) ) | 2280 | (lgc->client != client) ) |