[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r5749 - GNUnet/src/server
From: |
gnunet |
Subject: |
[GNUnet-SVN] r5749 - GNUnet/src/server |
Date: |
Sat, 24 Nov 2007 05:41:57 -0700 (MST) |
Author: grothoff
Date: 2007-11-24 05:41:57 -0700 (Sat, 24 Nov 2007)
New Revision: 5749
Modified:
GNUnet/src/server/connection.c
Log:
fixing mantis 1293
Modified: GNUnet/src/server/connection.c
===================================================================
--- GNUnet/src/server/connection.c 2007-11-24 11:35:22 UTC (rev 5748)
+++ GNUnet/src/server/connection.c 2007-11-24 12:41:57 UTC (rev 5749)
@@ -227,7 +227,7 @@
#define EXIT() ;
#endif
-#if DEBUG_COLLECT_PRIO == YES
+#if DEBUG_COLLECT_PRIO
FILE *prioFile;
#endif
@@ -1161,7 +1161,7 @@
(*priority) = approximateKnapsack (be,
be->session.mtu -
sizeof (P2P_PACKET_HEADER));
-#if DEBUG_COLLECT_PRIO == YES
+#if DEBUG_COLLECT_PRIO
FPRINTF (prioFile, "%llu 0 %u\n", GNUNET_get_time (),
*priority);
#endif
@@ -1171,7 +1171,7 @@
(*priority) = solveKnapsack (be,
be->session.mtu -
sizeof (P2P_PACKET_HEADER));
-#if DEBUG_COLLECT_PRIO == YES
+#if DEBUG_COLLECT_PRIO
FPRINTF (prioFile, "%llu 1 %u\n", GNUNET_get_time (),
*priority);
#endif
@@ -1182,7 +1182,7 @@
(*priority) = solveKnapsack (be,
be->session.mtu -
sizeof (P2P_PACKET_HEADER));
-#if DEBUG_COLLECT_PRIO == YES
+#if DEBUG_COLLECT_PRIO
FPRINTF (prioFile, "%llu 2 %u\n", GNUNET_get_time (), *priority);
#endif
}
@@ -3640,7 +3640,7 @@
topology = NULL;
releaseService (stats);
stats = NULL;
-#if DEBUG_COLLECT_PRIO == YES
+#if DEBUG_COLLECT_PRIO
if (prioFile != NULL)
{
fclose (prioFile);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r5749 - GNUnet/src/server,
gnunet <=