gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r34363 - gnunet/src/cadet
Date: Wed, 15 Oct 2014 02:55:42 +0200

Author: bartpolot
Date: 2014-10-15 02:55:42 +0200 (Wed, 15 Oct 2014)
New Revision: 34363

Modified:
   gnunet/src/cadet/gnunet-service-cadet_peer.c
Log:
- wrong condition, random paths removed instead of direct ones, fix #3531

Modified: gnunet/src/cadet/gnunet-service-cadet_peer.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_peer.c        2014-10-15 00:55:41 UTC 
(rev 34362)
+++ gnunet/src/cadet/gnunet-service-cadet_peer.c        2014-10-15 00:55:42 UTC 
(rev 34363)
@@ -356,7 +356,7 @@
 
   for (iter = peer->path_head; NULL != iter; iter = iter->next)
   {
-    if (2 <= iter->length)
+    if (2 >= iter->length)
     {
       GNUNET_CONTAINER_DLL_remove (peer->path_head, peer->path_tail, iter);
       return iter;




reply via email to

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