aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/peerinfo_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-07 11:58:04 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-07 11:58:04 +0000
commit9dac7b6b7b035d55bdb9731795712ead92e11f76 (patch)
tree8bed4ad4617f95bcdaac75dc43c2b2dd461b3e76 /src/peerinfo/peerinfo_api.c
parent2a534fc5efadca1b65648efb903c3b4c17ac33ad (diff)
downloadgnunet-9dac7b6b7b035d55bdb9731795712ead92e11f76.tar.gz
gnunet-9dac7b6b7b035d55bdb9731795712ead92e11f76.zip
fixes
Diffstat (limited to 'src/peerinfo/peerinfo_api.c')
-rw-r--r--src/peerinfo/peerinfo_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index 28865edc6..57197798b 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -262,8 +262,8 @@ GNUNET_PEERINFO_for_all (const struct GNUNET_CONFIGURATION_Handle *cfg,
262 struct GNUNET_CLIENT_Connection *client; 262 struct GNUNET_CLIENT_Connection *client;
263 struct ListAllPeersMessage *lapm; 263 struct ListAllPeersMessage *lapm;
264 struct ListPeerMessage *lpm; 264 struct ListPeerMessage *lpm;
265 size_t hs;
266 struct InfoContext *ihc; 265 struct InfoContext *ihc;
266 size_t hs;
267 267
268 client = GNUNET_CLIENT_connect (sched, "peerinfo", cfg); 268 client = GNUNET_CLIENT_connect (sched, "peerinfo", cfg);
269 if (client == NULL) 269 if (client == NULL)
@@ -279,7 +279,6 @@ GNUNET_PEERINFO_for_all (const struct GNUNET_CONFIGURATION_Handle *cfg,
279 ihc->callback = callback; 279 ihc->callback = callback;
280 ihc->callback_cls = callback_cls; 280 ihc->callback_cls = callback_cls;
281 ihc->timeout = GNUNET_TIME_relative_to_absolute (timeout); 281 ihc->timeout = GNUNET_TIME_relative_to_absolute (timeout);
282 hs = 0;
283 if (peer == NULL) 282 if (peer == NULL)
284 { 283 {
285 lapm = (struct ListAllPeersMessage *) &ihc[1]; 284 lapm = (struct ListAllPeersMessage *) &ihc[1];