add debug info
authorxrs <xrs@mail36.net>
Thu, 16 Jan 2020 16:09:24 +0000 (17:09 +0100)
committerxrs <xrs@mail36.net>
Thu, 16 Jan 2020 16:09:24 +0000 (17:09 +0100)
src/cadet/cadet_api_drop_message.c

index 808d0d4f70aff9629268567bd52f73739c0df5d5..d9f7e003ea0c9d335a14f97fae673bd84edbb604 100644 (file)
@@ -47,7 +47,7 @@ GNUNET_CADET_drop_message (struct GNUNET_MQ_Handle *mq,
   message->type = type;
   
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
-              "Dropping message for channel of type \n");
+              "Dropping message for channel of type %s (%d)\n", type == GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DESTROY ? "GNUNET_MESSAGE_TYPE_CADET_CHANNEL_DESTROY" : "UNKNOWN", type);
 
   GNUNET_MQ_send (mq, env);