From: xrs Date: Thu, 16 Jan 2020 16:09:24 +0000 (+0100) Subject: add debug info X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=736a3270889d465a7a460bebb6e99891932ecb93;p=oweals%2Fgnunet.git add debug info --- 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);