diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-09-06 08:06:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-09-06 08:06:24 +0000 |
commit | c256befb11c36611c3165cfeba1d48748d9ca7a8 (patch) | |
tree | c52230caa4217817463a0e9f6355729279e44b8f /src/peerinfo/peerinfo_api.c | |
parent | 7749caa5dbd33bc337675ccc38e08213ef46ddcc (diff) | |
download | gnunet-c256befb11c36611c3165cfeba1d48748d9ca7a8.tar.gz gnunet-c256befb11c36611c3165cfeba1d48748d9ca7a8.zip |
fix
Diffstat (limited to 'src/peerinfo/peerinfo_api.c')
-rw-r--r-- | src/peerinfo/peerinfo_api.c | 1 |
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 | |||
202 | reconnect (struct GNUNET_PEERINFO_Handle *h) | 202 | reconnect (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 | } |