From c256befb11c36611c3165cfeba1d48748d9ca7a8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 6 Sep 2010 08:06:24 +0000 Subject: [PATCH] fix --- src/peerinfo/peerinfo_api.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.25.1