dbg
authorChristian Grothoff <christian@grothoff.org>
Thu, 6 May 2010 09:02:26 +0000 (09:02 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 6 May 2010 09:02:26 +0000 (09:02 +0000)
src/core/core_api.c

index 42e8f1c065e16eff563d46169d411a21401fb1b3..9fd90b1274aab9a0f0208b00ebb9b7c51aef7ab1 100644 (file)
@@ -547,10 +547,11 @@ init_reply_handler (void *cls, const struct GNUNET_MessageHeader *msg)
       (ntohs (msg->size) != sizeof (struct InitReplyMessage)) ||
       (ntohs (msg->type) != GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY))
     {
-      GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+      GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                   _
-                  ("Error connecting to core service (failed to receive `%s' message).\n"),
-                  "INIT_REPLY");
+                  ("Error connecting to core service (failed to receive `%s' message, got message of type %u).\n"),
+                  "INIT_REPLY",
+                 ntohs (msg->type));
       GNUNET_break (msg == NULL);
       transmit_start (h, 0, NULL);
       return;