gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r32761 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r32761 - gnunet/src/mesh
Date: Sat, 22 Mar 2014 03:58:29 +0100

Author: bartpolot
Date: 2014-03-22 03:58:28 +0100 (Sat, 22 Mar 2014)
New Revision: 32761

Modified:
   gnunet/src/mesh/gnunet-service-mesh_connection.c
Log:
- fix infinite resend loop

Modified: gnunet/src/mesh/gnunet-service-mesh_connection.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_connection.c    2014-03-22 02:58:27 UTC 
(rev 32760)
+++ gnunet/src/mesh/gnunet-service-mesh_connection.c    2014-03-22 02:58:28 UTC 
(rev 32761)
@@ -1588,7 +1588,7 @@
   orig_peer = GMP_get (&id[0]);
 
   /* Is it a connection to us? */
-  if (c->own_pos == size - 1)
+  if (c->own_pos == path->length - 1)
   {
     LOG (GNUNET_ERROR_TYPE_DEBUG, "  It's for us!\n");
     GMP_add_path_to_origin (orig_peer, path_duplicate (path), GNUNET_YES);




reply via email to

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