gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r15459 - gnunet/src/core
Date: Wed, 8 Jun 2011 00:00:12 +0200

Author: grothoff
Date: 2011-06-08 00:00:12 +0200 (Wed, 08 Jun 2011)
New Revision: 15459

Modified:
   gnunet/src/core/gnunet-service-core.c
Log:
better

Modified: gnunet/src/core/gnunet-service-core.c
===================================================================
--- gnunet/src/core/gnunet-service-core.c       2011-06-07 21:48:47 UTC (rev 
15458)
+++ gnunet/src/core/gnunet-service-core.c       2011-06-07 22:00:12 UTC (rev 
15459)
@@ -1656,11 +1656,13 @@
   else
     {
       /* Technically, this COULD happen (due to asynchronous behavior),
-        but it is very odd, so we should at least generate a stern
-        warning */
-      GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                 "Client asked for preference change with peer `%s', which is 
not connected!\n",
+        but it should be rare, so we should generate an info event 
+        to help diagnosis of serious errors that might be masked by this */
+      GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+                 _("Client asked for preference change with peer `%s', which 
is not connected!\n"),
                  GNUNET_i2s (&rcm->peer));
+      GNUNET_SERVER_receive_done (client, GNUNET_OK);
+      return;
     }
   cim.header.size = htons (sizeof (struct ConfigurationInfoMessage));
   cim.header.type = htons (GNUNET_MESSAGE_TYPE_CORE_CONFIGURATION_INFO);




reply via email to

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