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.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index 741c3429f..96857b5a8 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -577,10 +577,13 @@ iterator_start_receive (void *cls, const char *emsg)
577 } 577 }
578 LOG (GNUNET_ERROR_TYPE_DEBUG, "Waiting for response from `%s' service.\n", 578 LOG (GNUNET_ERROR_TYPE_DEBUG, "Waiting for response from `%s' service.\n",
579 "PEERINFO"); 579 "PEERINFO");
580 h->in_receive = GNUNET_YES;
581 ic->in_receive = GNUNET_YES; 580 ic->in_receive = GNUNET_YES;
582 GNUNET_CLIENT_receive (h->client, &peerinfo_handler, ic, 581 if (GNUNET_NO == h->in_receive)
583 GNUNET_TIME_absolute_get_remaining (ic->timeout)); 582 {
583 h->in_receive = GNUNET_YES;
584 GNUNET_CLIENT_receive (h->client, &peerinfo_handler, ic,
585 GNUNET_TIME_absolute_get_remaining (ic->timeout));
586 }
584} 587}
585 588
586 589