- code/debug format
authorBart Polot <bart.polot+voyager@gmail.com>
Wed, 8 Feb 2017 18:40:36 +0000 (19:40 +0100)
committerBart Polot <bart.polot+voyager@gmail.com>
Wed, 8 Feb 2017 18:40:36 +0000 (19:40 +0100)
src/cadet/cadet_api.c

index f55911afa39db1c2472d5d31083f4ad4f5a44350..644f755ec69f34b77a94d9ddb7b0401c966e5126 100644 (file)
@@ -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;
   }