gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11217 - gnunet/src/core


From: gnunet
Subject: [GNUnet-SVN] r11217 - gnunet/src/core
Date: Thu, 6 May 2010 14:13:18 +0200

Author: grothoff
Date: 2010-05-06 14:13:18 +0200 (Thu, 06 May 2010)
New Revision: 11217

Modified:
   gnunet/src/core/core_api.c
Log:
dbg

Modified: gnunet/src/core/core_api.c
===================================================================
--- gnunet/src/core/core_api.c  2010-05-06 11:52:54 UTC (rev 11216)
+++ gnunet/src/core/core_api.c  2010-05-06 12:13:18 UTC (rev 11217)
@@ -549,9 +549,10 @@
     {
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                   _
-                  ("Error connecting to core service (failed to receive `%s' 
message, got message of type %u).\n"),
+                  ("Error connecting to core service (failed to receive `%s' 
message, got message of type %u and size %u).\n"),
                   "INIT_REPLY",
-                 ntohs (msg->type));
+                 (msg == NULL) ? -1 : ntohs (msg->type),
+                 (msg == NULL) ? -1 : ntohs (msg->size));
       GNUNET_break (msg == NULL);
       transmit_start (h, 0, NULL);
       return;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]