From: Christian Grothoff Date: Mon, 6 Sep 2010 08:06:24 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~20446 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c256befb11c36611c3165cfeba1d48748d9ca7a8;p=oweals%2Fgnunet.git fix --- 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 reconnect (struct GNUNET_PEERINFO_Handle *h) { GNUNET_CLIENT_disconnect (h->client, GNUNET_SYSERR); + h->th = NULL; h->client = GNUNET_CLIENT_connect (h->sched, "peerinfo", h->cfg); GNUNET_assert (h->client != NULL); }