gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r33814 - gnunet/src/cadet
Date: Tue, 24 Jun 2014 03:54:18 +0200

Author: bartpolot
Date: 2014-06-24 03:54:18 +0200 (Tue, 24 Jun 2014)
New Revision: 33814

Modified:
   gnunet/src/cadet/gnunet-service-cadet_tunnel.c
Log:
- more debug for #3405

Modified: gnunet/src/cadet/gnunet-service-cadet_tunnel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-06-24 01:54:17 UTC 
(rev 33813)
+++ gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-06-24 01:54:18 UTC 
(rev 33814)
@@ -1205,6 +1205,7 @@
     GNUNET_break (0);
     return;
   }
+  type = ntohs (message->type);
 
   /* Even if tunnel is being destroyed, send anyway.
    * Could be a response to a rekey initiated by remote peer,
@@ -1215,6 +1216,7 @@
   if (NULL == t->connection_head)
   {
     GNUNET_break (CADET_TUNNEL_SEARCHING == t->cstate);
+    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);
     return;
@@ -1231,7 +1233,6 @@
     GCT_debug (t, GNUNET_ERROR_TYPE_WARNING);
     return;
   }
-  type = ntohs (message->type);
   switch (type)
   {
     case GNUNET_MESSAGE_TYPE_CADET_KX_EPHEMERAL:




reply via email to

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