aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/peerinfo_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo/peerinfo_api.c')
-rw-r--r--src/peerinfo/peerinfo_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index 593ee8b3c..5eb58af44 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -172,7 +172,7 @@ GNUNET_PEERINFO_disconnect (struct GNUNET_PEERINFO_Handle *h)
172 } 172 }
173 if (NULL != h->client) 173 if (NULL != h->client)
174 { 174 {
175 GNUNET_CLIENT_disconnect (h->client, GNUNET_NO); 175 GNUNET_CLIENT_disconnect (h->client);
176 h->client = NULL; 176 h->client = NULL;
177 } 177 }
178 if (GNUNET_SCHEDULER_NO_TASK != h->r_task) 178 if (GNUNET_SCHEDULER_NO_TASK != h->r_task)
@@ -238,7 +238,7 @@ reconnect (struct GNUNET_PEERINFO_Handle *h)
238 } 238 }
239 if (NULL != h->client) 239 if (NULL != h->client)
240 { 240 {
241 GNUNET_CLIENT_disconnect (h->client, GNUNET_SYSERR); 241 GNUNET_CLIENT_disconnect (h->client);
242 h->client = NULL; 242 h->client = NULL;
243 } 243 }
244 h->client = GNUNET_CLIENT_connect ("peerinfo", h->cfg); 244 h->client = GNUNET_CLIENT_connect ("peerinfo", h->cfg);