[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r37406 - in gnunet/src: include util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r37406 - in gnunet/src: include util |
Date: |
Mon, 27 Jun 2016 18:56:38 +0200 |
Author: grothoff
Date: 2016-06-27 18:56:38 +0200 (Mon, 27 Jun 2016)
New Revision: 37406
Modified:
gnunet/src/include/gnunet_protocols.h
gnunet/src/util/mq.c
Log:
-doxygen, error messages
Modified: gnunet/src/include/gnunet_protocols.h
===================================================================
--- gnunet/src/include/gnunet_protocols.h 2016-06-27 16:52:08 UTC (rev
37405)
+++ gnunet/src/include/gnunet_protocols.h 2016-06-27 16:56:38 UTC (rev
37406)
@@ -1630,7 +1630,7 @@
#define GNUNET_MESSAGE_TYPE_TESTBED_SLAVE_CONFIGURATION 480
/**
- * Message to signal the result of
GNUNET_MESSAGE_TYPE_TESTBED_LINK_CONTROLLERS request
+ * Message to signal the result of
#GNUNET_MESSAGE_TYPE_TESTBED_LINK_CONTROLLERS request
*/
#define GNUNET_MESSAGE_TYPE_TESTBED_LINK_CONTROLLERS_RESULT 481
Modified: gnunet/src/util/mq.c
===================================================================
--- gnunet/src/util/mq.c 2016-06-27 16:52:08 UTC (rev 37405)
+++ gnunet/src/util/mq.c 2016-06-27 16:56:38 UTC (rev 37406)
@@ -225,6 +225,9 @@
{
/* Too small, or not an exact size and
no 'mv' handler to check rest */
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Received malformed message of type %u\n",
+ (unsigned int) handler->type);
GNUNET_MQ_inject_error (mq,
GNUNET_MQ_ERROR_MALFORMED);
break;
@@ -239,6 +242,9 @@
else
{
/* Message rejected by check routine */
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Received malformed message of type %u\n",
+ (unsigned int) handler->type);
GNUNET_MQ_inject_error (mq,
GNUNET_MQ_ERROR_MALFORMED);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r37406 - in gnunet/src: include util,
gnunet <=