gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r33360 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r33360 - gnunet/src/cadet
Date: Fri, 23 May 2014 02:37:49 +0200

Author: bartpolot
Date: 2014-05-23 02:37:49 +0200 (Fri, 23 May 2014)
New Revision: 33360

Modified:
   gnunet/src/cadet/test_cadet.c
Log:
- add default size, doc

Modified: gnunet/src/cadet/test_cadet.c
===================================================================
--- gnunet/src/cadet/test_cadet.c       2014-05-23 00:37:47 UTC (rev 33359)
+++ gnunet/src/cadet/test_cadet.c       2014-05-23 00:37:49 UTC (rev 33360)
@@ -859,6 +859,8 @@
   config_file = "test_cadet.conf";
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Start\n");
+
+  /* Find out requested size */
   if (strstr (argv[0], "test_direct") != NULL)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "DIRECT CONNECTIONs\n");
@@ -871,10 +873,11 @@
   }
   else
   {
-    GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "SIZE UNKNOWN\n");
-    return 1;
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "SIZE UNKNOWN, USING 5\n");
+    peers_requested = 5;
   }
 
+  /* Find out requested test */
   if (strstr (argv[0], "_cadet_forward") != NULL)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "FORWARD\n");




reply via email to

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