[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8214 - GNUnet/src/applications/dv/module
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8214 - GNUnet/src/applications/dv/module |
Date: |
Tue, 10 Feb 2009 14:57:02 -0700 (MST) |
Author: nevans
Date: 2009-02-10 14:57:01 -0700 (Tue, 10 Feb 2009)
New Revision: 8214
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-02-10 01:37:22 UTC (rev
8213)
+++ GNUnet/src/applications/dv/module/dv.c 2009-02-10 21:57:01 UTC (rev
8214)
@@ -322,8 +322,8 @@
if (neighbor->cost != cost)
{
- neighbor->cost = cost;
- /*GNUNET_multi_hash_map_put (ctx->direct_neighbors,
&peer->hashPubKey,
+ neighbor->cost = cost;
+ /*GNUNET_multi_hash_map_put (ctx->direct_neighbors, &peer->hashPubKey,
neighbor,
GNUNET_MultiHashMapOption_REPLACE);*/
}
@@ -367,8 +367,8 @@
(char *) &encNeighbor);
#endif
- if ((memcmp (neighbor->neighbor, toMatch, sizeof (GNUNET_PeerIdentity)) ==
- 0) || ((neighbor->referrer != NULL)
+ if (((memcmp (neighbor->neighbor, toMatch, sizeof (GNUNET_PeerIdentity)) ==
+ 0) && (neighbor->referrer == NULL)) || ((neighbor->referrer != NULL)
&&
(memcmp
(neighbor->referrer, toMatch,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8214 - GNUnet/src/applications/dv/module,
gnunet <=