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.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index faa56e908..fad77a194 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -24,11 +24,8 @@
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
26#include "platform.h" 26#include "platform.h"
27#include "gnunet_client_lib.h" 27#include "gnunet_util_lib.h"
28#include "gnunet_container_lib.h"
29#include "gnunet_peerinfo_service.h"
30#include "gnunet_protocols.h" 28#include "gnunet_protocols.h"
31#include "gnunet_time_lib.h"
32#include "peerinfo.h" 29#include "peerinfo.h"
33 30
34#define LOG(kind,...) GNUNET_log_from (kind, "peerinfo-api",__VA_ARGS__) 31#define LOG(kind,...) GNUNET_log_from (kind, "peerinfo-api",__VA_ARGS__)
@@ -558,7 +555,7 @@ peerinfo_handler (void *cls, const struct GNUNET_MessageHeader *msg)
558 /* bogus message (from a different iteration call?); out of sequence! */ 555 /* bogus message (from a different iteration call?); out of sequence! */
559 LOG (GNUNET_ERROR_TYPE_ERROR, 556 LOG (GNUNET_ERROR_TYPE_ERROR,
560 "Received HELLO for peer `%s', expected peer `%s'\n", 557 "Received HELLO for peer `%s', expected peer `%s'\n",
561 GNUNET_h2s (&im->peer.hashPubKey), 558 GNUNET_i2s (&im->peer),
562 GNUNET_i2s (&ic->peer)); 559 GNUNET_i2s (&ic->peer));
563 560
564 GNUNET_break (0); 561 GNUNET_break (0);