gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r14612 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r14612 - gnunet/src/testing
Date: Tue, 8 Mar 2011 14:48:28 +0100

Author: nevans
Date: 2011-03-08 14:48:28 +0100 (Tue, 08 Mar 2011)
New Revision: 14612

Modified:
   gnunet/src/testing/testing_group.c
Log:
do not avoid mallocs

Modified: gnunet/src/testing/testing_group.c
===================================================================
--- gnunet/src/testing/testing_group.c  2011-03-08 13:37:28 UTC (rev 14611)
+++ gnunet/src/testing/testing_group.c  2011-03-08 13:48:28 UTC (rev 14612)
@@ -42,7 +42,7 @@
 
 #define TOPOLOGY_HACK GNUNET_YES
 
-#define AVOID_CONN_MALLOC GNUNET_YES
+#define AVOID_CONN_MALLOC GNUNET_NO
 
 /**
  * Lowest port used for GNUnet testing.  Should be high enough to not
@@ -2639,17 +2639,6 @@
         }
 
     }
-#if 0
-  /* Connect each peer to the next highest numbered peer */
-  for (count = 0; count < pg->total - 1; count++)
-    {
-#if VERBOSE_TESTING
-      GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-          "Connecting peer %d to peer %d\n", first_peer_index, 
second_peer_index);
-#endif
-      connect_attempts += proc (pg, first_peer_index, second_peer_index);
-    }
-#endif
   return connect_attempts;
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]