[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4012 - in GNUnet/src: applications/dht/module util/network
From: |
grothoff |
Subject: |
[GNUnet-SVN] r4012 - in GNUnet/src: applications/dht/module util/network |
Date: |
Thu, 21 Dec 2006 22:36:57 -0800 (PST) |
Author: grothoff
Date: 2006-12-21 22:36:54 -0800 (Thu, 21 Dec 2006)
New Revision: 4012
Modified:
GNUnet/src/applications/dht/module/table.c
GNUnet/src/util/network/select.c
Log:
fixes
Modified: GNUnet/src/applications/dht/module/table.c
===================================================================
--- GNUnet/src/applications/dht/module/table.c 2006-12-22 03:01:41 UTC (rev
4011)
+++ GNUnet/src/applications/dht/module/table.c 2006-12-22 06:36:54 UTC (rev
4012)
@@ -339,6 +339,7 @@
MUTEX_LOCK(lock);
if (stats != NULL)
stats->change(stat_dht_route_looks, 1);
+ total_distance = 0;
for (bc=0;bc<bucketCount;bc++) {
bucket = &buckets[bc];
for (ec=0;ec<bucket->peers_size;ec++) {
Modified: GNUnet/src/util/network/select.c
===================================================================
--- GNUnet/src/util/network/select.c 2006-12-22 03:01:41 UTC (rev 4011)
+++ GNUnet/src/util/network/select.c 2006-12-22 06:36:54 UTC (rev 4012)
@@ -645,7 +645,7 @@
/* validate msg format! */
const MESSAGE_HEADER * hdr;
- /* on OSX, FIONREAD includes IP headers,
+ /* on OS X, FIONREAD includes parts of UDP/IP headers,
thus if size < pending, set pending to size */
if (size < pending)
pending = size;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4012 - in GNUnet/src: applications/dht/module util/network,
grothoff <=