[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11335 - gnunet/src/core
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11335 - gnunet/src/core |
Date: |
Tue, 11 May 2010 21:25:55 +0200 |
Author: grothoff
Date: 2010-05-11 21:25:55 +0200 (Tue, 11 May 2010)
New Revision: 11335
Modified:
gnunet/src/core/core_api.c
Log:
nicer-log
Modified: gnunet/src/core/core_api.c
===================================================================
--- gnunet/src/core/core_api.c 2010-05-11 19:23:11 UTC (rev 11334)
+++ gnunet/src/core/core_api.c 2010-05-11 19:25:55 UTC (rev 11335)
@@ -548,16 +548,22 @@
(ntohs (msg->type) != GNUNET_MESSAGE_TYPE_CORE_INIT_REPLY))
{
if (msg != NULL)
- GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
- _
- ("Error connecting to core service (failed to receive `%s'
message, got message of type %u and size %u).\n"),
- "INIT_REPLY",
- ntohs (msg->type),
- ntohs (msg->size));
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ _
+ ("Error connecting to core service (failed to receive
`%s' message, got message of type %u and size %u).\n"),
+ "INIT_REPLY",
+ ntohs (msg->type),
+ ntohs (msg->size));
+ GNUNET_break (0);
+ }
else
- GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- _("Failed to connect to core service.\n"));
- GNUNET_break (msg == NULL);
+ {
+#if DEBUG_CORE
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ _("Failed to connect to core service, will retry.\n"));
+#endif
+ }
transmit_start (h, 0, NULL);
return;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11335 - gnunet/src/core,
gnunet <=