gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r32697 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r32697 - gnunet/src/transport
Date: Thu, 20 Mar 2014 10:05:01 +0100

Author: wachs
Date: 2014-03-20 10:05:01 +0100 (Thu, 20 Mar 2014)
New Revision: 32697

Modified:
   gnunet/src/transport/gnunet-service-transport_neighbours.c
Log:
remove testing breaks and add documentation for checks


Modified: gnunet/src/transport/gnunet-service-transport_neighbours.c
===================================================================
--- gnunet/src/transport/gnunet-service-transport_neighbours.c  2014-03-19 
16:36:58 UTC (rev 32696)
+++ gnunet/src/transport/gnunet-service-transport_neighbours.c  2014-03-20 
09:05:01 UTC (rev 32697)
@@ -1604,13 +1604,17 @@
   n = lookup_neighbour (target);
   if (NULL == n)
   {
-    GNUNET_break (0); /* TESTING */
+    /* CONNECT continuation was called after neighbor was freed,
+     * for example due to a time out for the state or the session
+     * used was already terminated: nothing to do here... */
     return;
   }
 
   if (GNUNET_TRANSPORT_PS_CONNECT_SENT != n->state)
   {
-    GNUNET_break (0); /* TESTING */
+    /* CONNECT continuation was called after neighbor changed state,
+     * for example due to a time out for the state or the session
+     * used was already terminated: nothing to do here... */
     return;
   }
   if (GNUNET_OK == result)




reply via email to

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