From 1aa3a2b2beda8e6a8d13da61e0f7c813083bb2bc Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 8 Feb 2017 19:40:36 +0100 Subject: [PATCH] - code/debug format --- src/cadet/cadet_api.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index f55911afa..644f755ec 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c @@ -910,7 +910,9 @@ handle_channel_created (void *cls, &msg->peer, port->hash, ch->options); - } else { + } + else + { /* MQ API */ GNUNET_assert (NULL != port->connects); ch->window_changes = port->window_changes; @@ -1036,8 +1038,9 @@ handle_local_data (void *cls, if (NULL != ch->mq) { LOG (GNUNET_ERROR_TYPE_DEBUG, - "injecting msg %s into mq\n", - GC_m2s (ntohs (payload->type))); + "injecting msg %s into mq %p\n", + GC_m2s (ntohs (payload->type)), + ch->mq); GNUNET_MQ_inject_message (ch->mq, payload); return; } -- 2.25.1