gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r8130 - GNUnet/src/applications/dv/module


From: gnunet
Subject: [GNUnet-SVN] r8130 - GNUnet/src/applications/dv/module
Date: Tue, 20 Jan 2009 12:20:48 -0700 (MST)

Author: nevans
Date: 2009-01-20 12:20:47 -0700 (Tue, 20 Jan 2009)
New Revision: 8130

Modified:
   GNUnet/src/applications/dv/module/dv.c
Log:
oops

Modified: GNUnet/src/applications/dv/module/dv.c
===================================================================
--- GNUnet/src/applications/dv/module/dv.c      2009-01-20 19:20:27 UTC (rev 
8129)
+++ GNUnet/src/applications/dv/module/dv.c      2009-01-20 19:20:47 UTC (rev 
8130)
@@ -259,7 +259,7 @@
     }
   nmsg = (const p2p_dv_MESSAGE_NeighborInfo *) message;
 
-  ret = addUpdateNeighbor (&nmsg->neighbor, sender, ntohl (nmsg->cost));
+  ret = addUpdateNeighbor (&nmsg->neighbor, sender, ntohl (nmsg->cost) + 1);
 
   if (GNUNET_OK != ret)
     GNUNET_GE_LOG (coreAPI->ectx,





reply via email to

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