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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index 831cd9240..4c5d7957d 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -274,8 +274,10 @@ do_transmit (void *cls, size_t size, void *buf)
274 return 0; 274 return 0;
275 if (buf == NULL) 275 if (buf == NULL)
276 { 276 {
277 LOG (GNUNET_ERROR_TYPE_WARNING | GNUNET_ERROR_TYPE_BULK, 277#if DEBUG_PEERINFO
278 LOG (GNUNET_ERROR_TYPE_DEBUG | GNUNET_ERROR_TYPE_BULK,
278 _("Failed to transmit message to `%s' service.\n"), "PEERINFO"); 279 _("Failed to transmit message to `%s' service.\n"), "PEERINFO");
280#endif
279 GNUNET_CONTAINER_DLL_remove (h->tq_head, h->tq_tail, tqe); 281 GNUNET_CONTAINER_DLL_remove (h->tq_head, h->tq_tail, tqe);
280 reconnect (h); 282 reconnect (h);
281 if (tqe->cont != NULL) 283 if (tqe->cont != NULL)