From 736a3270889d465a7a460bebb6e99891932ecb93 Mon Sep 17 00:00:00 2001 From: xrs Date: Thu, 16 Jan 2020 17:09:24 +0100 Subject: [PATCH] add debug info --- src/cadet/cadet_api_drop_message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cadet/cadet_api_drop_message.c b/src/cadet/cadet_api_drop_message.c index 808d0d4f7..d9f7e003e 100644 --- a/src/cadet/cadet_api_drop_message.c +++ b/src/cadet/cadet_api_drop_message.c @@ -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); -- 2.25.1