gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r33787 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r33787 - gnunet/src/cadet
Date: Mon, 23 Jun 2014 17:47:01 +0200

Author: bartpolot
Date: 2014-06-23 17:47:00 +0200 (Mon, 23 Jun 2014)
New Revision: 33787

Modified:
   gnunet/src/cadet/gnunet-service-cadet_connection.c
Log:
- fix ERROR log

Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c  2014-06-23 13:30:07 UTC 
(rev 33786)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c  2014-06-23 15:47:00 UTC 
(rev 33787)
@@ -595,10 +595,10 @@
   {
     forced = GNUNET_NO;
   }
-  if (NULL == c)
+  if (NULL == c
+      && type != GNUNET_MESSAGE_TYPE_CADET_CONNECTION_BROKEN
+      && type != GNUNET_MESSAGE_TYPE_CADET_CONNECTION_DESTROY)
   {
-    GNUNET_break (type == GNUNET_MESSAGE_TYPE_CADET_CONNECTION_BROKEN ||
-                  type == GNUNET_MESSAGE_TYPE_CADET_CONNECTION_DESTROY);
     LOG (GNUNET_ERROR_TYPE_ERROR, "Message %s sent on NULL connection!\n",
          GC_m2s (type));
     return;




reply via email to

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