[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1726 - GNUnet/src/applications/gap
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1726 - GNUnet/src/applications/gap |
Date: |
Wed, 17 Aug 2005 20:22:02 -0700 (PDT) |
Author: grothoff
Date: 2005-08-17 20:22:00 -0700 (Wed, 17 Aug 2005)
New Revision: 1726
Modified:
GNUnet/src/applications/gap/gap.c
Log:
fix
Modified: GNUnet/src/applications/gap/gap.c
===================================================================
--- GNUnet/src/applications/gap/gap.c 2005-08-18 03:19:47 UTC (rev 1725)
+++ GNUnet/src/applications/gap/gap.c 2005-08-18 03:22:00 UTC (rev 1726)
@@ -794,8 +794,10 @@
*/
static void sendToSelected(const PeerIdentity * id,
const QueryRecord * qr) {
+#if DEBUG_GAP
EncName encq;
EncName encp;
+#endif
if ( (equalsHashCode512(&id->hashPubKey,
&qr->noTarget.hashPubKey)) ||
@@ -1032,9 +1034,9 @@
P2P_gap_reply_MESSAGE * pmsg;
IndirectionTableEntry * ite;
unsigned int size;
+#if DEBUG_GAP
EncName enc;
-#if DEBUG_GAP
IFLOG(LOG_DEBUG,
hash2enc(primaryKey,
&enc));
@@ -1448,7 +1450,9 @@
unsigned int j;
unsigned int maxDelay;
cron_t now;
+#if DEBUG_GAP
EncName enc;
+#endif
cronTime(&now);
if (now < ite->ttl)
@@ -1566,7 +1570,9 @@
int max;
int * perm;
int doForward;
+#if DEBUG_GAP
EncName enc;
+#endif
ite = &ROUTING_indTable_[computeRoutingIndex(&query->queries[0])];
MUTEX_LOCK(&lookup_exclusion);
@@ -1692,9 +1698,9 @@
unsigned int prio;
DataContainer * value;
double preference;
+#if DEBUG_GAP
EncName enc;
-#if DEBUG_GAP
IFLOG(LOG_DEBUG,
if (hostId != NULL)
hash2enc(&hostId->hashPubKey,
@@ -2005,7 +2011,9 @@
int ttl;
unsigned int prio;
double preference;
+#if DEBUG_GAP
EncName enc;
+#endif
if (bs == NULL) {
BREAK();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1726 - GNUnet/src/applications/gap,
grothoff <=