aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-09-06 08:06:24 +0000
committerChristian Grothoff <christian@grothoff.org>2010-09-06 08:06:24 +0000
commitc256befb11c36611c3165cfeba1d48748d9ca7a8 (patch)
treec52230caa4217817463a0e9f6355729279e44b8f /src/peerinfo
parent7749caa5dbd33bc337675ccc38e08213ef46ddcc (diff)
downloadgnunet-c256befb11c36611c3165cfeba1d48748d9ca7a8.tar.gz
gnunet-c256befb11c36611c3165cfeba1d48748d9ca7a8.zip
fix
Diffstat (limited to 'src/peerinfo')
-rw-r--r--src/peerinfo/peerinfo_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index 67dfc2379..865c6e520 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -202,6 +202,7 @@ static void
202reconnect (struct GNUNET_PEERINFO_Handle *h) 202reconnect (struct GNUNET_PEERINFO_Handle *h)
203{ 203{
204 GNUNET_CLIENT_disconnect (h->client, GNUNET_SYSERR); 204 GNUNET_CLIENT_disconnect (h->client, GNUNET_SYSERR);
205 h->th = NULL;
205 h->client = GNUNET_CLIENT_connect (h->sched, "peerinfo", h->cfg); 206 h->client = GNUNET_CLIENT_connect (h->sched, "peerinfo", h->cfg);
206 GNUNET_assert (h->client != NULL); 207 GNUNET_assert (h->client != NULL);
207} 208}