[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8133 - GNUnet/src/applications/dv/module
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8133 - GNUnet/src/applications/dv/module |
Date: |
Tue, 20 Jan 2009 13:27:11 -0700 (MST) |
Author: nevans
Date: 2009-01-20 13:27:11 -0700 (Tue, 20 Jan 2009)
New Revision: 8133
Modified:
GNUnet/src/applications/dv/module/dv.c
Log:
Modified: GNUnet/src/applications/dv/module/dv.c
===================================================================
--- GNUnet/src/applications/dv/module/dv.c 2009-01-20 20:25:45 UTC (rev
8132)
+++ GNUnet/src/applications/dv/module/dv.c 2009-01-20 20:27:11 UTC (rev
8133)
@@ -185,7 +185,7 @@
GNUNET_multi_hash_map_get (ctx->extended_neighbors,
&peer->hashPubKey);
- if (((neighbor->referrer == NULL) && (referrer == NULL)) ||
(((neighbor->referrer != NULL) && (referrer != NULL)) && (memcmp
(neighbor->referrer, referrer, sizeof (GNUNET_PeerIdentity))
+ if ((neighbor->cost != cost) && ((neighbor->referrer == NULL) &&
(referrer == NULL)) || (((neighbor->referrer != NULL) && (referrer != NULL)) &&
(memcmp (neighbor->referrer, referrer, sizeof (GNUNET_PeerIdentity))
== 0)))
{
neighbor->cost = cost;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8133 - GNUnet/src/applications/dv/module,
gnunet <=