From 06526a72c14a55aff27876df93b370d72a1e806a Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 30 Jul 2014 18:42:08 +0000 Subject: [PATCH] - debug info on queued messages when popping --- src/cadet/gnunet-service-cadet_peer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c index f8d8e5675..4ec029386 100644 --- a/src/cadet/gnunet-service-cadet_peer.c +++ b/src/cadet/gnunet-service-cadet_peer.c @@ -1424,6 +1424,9 @@ GCP_connection_pop (struct CadetPeer *peer, next = q->next; if (q->c != c) continue; + LOG (GNUNET_ERROR_TYPE_DEBUG, " - queued: %s (%s %u), callback: %p\n", + GC_m2s (q->type), GC_m2s (q->payload_type), q->payload_id, + q->callback); switch (q->type) { case GNUNET_MESSAGE_TYPE_CADET_CONNECTION_CREATE: -- 2.25.1