aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_unindex.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-04-19 08:53:46 +0000
committerChristian Grothoff <christian@grothoff.org>2012-04-19 08:53:46 +0000
commitccc7218f3d2008d4e7ec5e222ba6b6451ec677ba (patch)
tree50664649cca13e5462dadea8c9bcde81c59e07ef /src/fs/fs_unindex.c
parent75297c57a857d0c7c1428bed00e32ed2c8b5389d (diff)
downloadgnunet-ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba.tar.gz
gnunet-ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba.zip
-removing 2nd argument from GNUNET_CLIENT_disconnect as it was virtually always GNUNET_NO --- and all other uses indicate design problems
Diffstat (limited to 'src/fs/fs_unindex.c')
-rw-r--r--src/fs/fs_unindex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c
index bf619b75a..fa71b56bc 100644
--- a/src/fs/fs_unindex.c
+++ b/src/fs/fs_unindex.c
@@ -223,7 +223,7 @@ process_fs_response (void *cls, const struct GNUNET_MessageHeader *msg)
223 223
224 if (uc->client != NULL) 224 if (uc->client != NULL)
225 { 225 {
226 GNUNET_CLIENT_disconnect (uc->client, GNUNET_NO); 226 GNUNET_CLIENT_disconnect (uc->client);
227 uc->client = NULL; 227 uc->client = NULL;
228 } 228 }
229 if (uc->state != UNINDEX_STATE_FS_NOTIFY) 229 if (uc->state != UNINDEX_STATE_FS_NOTIFY)
@@ -708,7 +708,7 @@ GNUNET_FS_unindex_signal_suspend_ (void *cls)
708 } 708 }
709 if (uc->client != NULL) 709 if (uc->client != NULL)
710 { 710 {
711 GNUNET_CLIENT_disconnect (uc->client, GNUNET_NO); 711 GNUNET_CLIENT_disconnect (uc->client);
712 uc->client = NULL; 712 uc->client = NULL;
713 } 713 }
714 if (NULL != uc->dsh) 714 if (NULL != uc->dsh)
@@ -803,7 +803,7 @@ GNUNET_FS_unindex_stop (struct GNUNET_FS_UnindexContext *uc)
803 } 803 }
804 if (uc->client != NULL) 804 if (uc->client != NULL)
805 { 805 {
806 GNUNET_CLIENT_disconnect (uc->client, GNUNET_NO); 806 GNUNET_CLIENT_disconnect (uc->client);
807 uc->client = NULL; 807 uc->client = NULL;
808 } 808 }
809 if (NULL != uc->dsh) 809 if (NULL != uc->dsh)