aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/peerinfo_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-03 17:42:37 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-03 17:42:37 +0000
commit49407f6d8563cdc61eab5199e23b802aeca49f66 (patch)
tree7302f54b5d1e79cfd6e9892937e977f256c40dac /src/peerinfo/peerinfo_api.c
parent0ab4af1ee46c38dfde4052de5570486abc2ad4fd (diff)
downloadgnunet-49407f6d8563cdc61eab5199e23b802aeca49f66.tar.gz
gnunet-49407f6d8563cdc61eab5199e23b802aeca49f66.zip
-fix
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