gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r33883 - gnunet/src/cadet
Date: Mon, 30 Jun 2014 15:04:28 +0200

Author: bartpolot
Date: 2014-06-30 15:04:28 +0200 (Mon, 30 Jun 2014)
New Revision: 33883

Modified:
   gnunet/src/cadet/gnunet-service-cadet_tunnel.c
Log:
- debug

Modified: gnunet/src/cadet/gnunet-service-cadet_tunnel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-06-27 15:01:19 UTC 
(rev 33882)
+++ gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-06-30 13:04:28 UTC 
(rev 33883)
@@ -1213,13 +1213,14 @@
    */
 
   /* Must have a connection. */
-  if (NULL == t->connection_head)
+  if (NULL == t->connection_head && CADET_TUNNEL_SEARCHING != t->cstate)
   {
-    GNUNET_break (CADET_TUNNEL_SEARCHING == t->cstate);
-    LOG (GNUNET_ERROR_TYPE_DEBUG, "\n\n\nsending %s\n", GC_m2s (type));
-    GCT_debug (t, GNUNET_ERROR_TYPE_DEBUG);
-    GCP_debug (t->peer, GNUNET_ERROR_TYPE_DEBUG);
-    LOG (GNUNET_ERROR_TYPE_DEBUG, "\n\n\n");
+    LOG (GNUNET_ERROR_TYPE_WARNING, "\n\n\n");
+    GNUNET_break (0);
+    LOG (GNUNET_ERROR_TYPE_WARNING, "sending %s\n", GC_m2s (type));
+    GCT_debug (t, GNUNET_ERROR_TYPE_WARNING);
+    GCP_debug (t->peer, GNUNET_ERROR_TYPE_WARNING);
+    LOG (GNUNET_ERROR_TYPE_WARNING, "\n\n\n");
     return;
   }
 




reply via email to

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