diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-19 08:53:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-19 08:53:46 +0000 |
commit | ccc7218f3d2008d4e7ec5e222ba6b6451ec677ba (patch) | |
tree | 50664649cca13e5462dadea8c9bcde81c59e07ef /src/fs/fs_publish.c | |
parent | 75297c57a857d0c7c1428bed00e32ed2c8b5389d (diff) | |
download | gnunet-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_publish.c')
-rw-r--r-- | src/fs/fs_publish.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c index e0a6f046a..3d83beef8 100644 --- a/src/fs/fs_publish.c +++ b/src/fs/fs_publish.c | |||
@@ -98,7 +98,7 @@ publish_cleanup (struct GNUNET_FS_PublishContext *pc) | |||
98 | } | 98 | } |
99 | if (pc->client != NULL) | 99 | if (pc->client != NULL) |
100 | { | 100 | { |
101 | GNUNET_CLIENT_disconnect (pc->client, GNUNET_NO); | 101 | GNUNET_CLIENT_disconnect (pc->client); |
102 | pc->client = NULL; | 102 | pc->client = NULL; |
103 | } | 103 | } |
104 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == pc->upload_task); | 104 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == pc->upload_task); |
@@ -611,7 +611,7 @@ process_index_start_response (void *cls, const struct GNUNET_MessageHeader *msg) | |||
611 | const char *emsg; | 611 | const char *emsg; |
612 | uint16_t msize; | 612 | uint16_t msize; |
613 | 613 | ||
614 | GNUNET_CLIENT_disconnect (pc->client, GNUNET_NO); | 614 | GNUNET_CLIENT_disconnect (pc->client); |
615 | pc->client = NULL; | 615 | pc->client = NULL; |
616 | p = pc->fi_pos; | 616 | p = pc->fi_pos; |
617 | if (msg == NULL) | 617 | if (msg == NULL) |