gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r27021 - gnunet/src/regex


From: gnunet
Subject: [GNUnet-SVN] r27021 - gnunet/src/regex
Date: Fri, 3 May 2013 16:56:37 +0200

Author: bartpolot
Date: 2013-05-03 16:56:37 +0200 (Fri, 03 May 2013)
New Revision: 27021

Modified:
   gnunet/src/regex/gnunet-regex-profiler.c
Log:
- don't require hosts file anymore (testbed accepts NULL), now for real

Modified: gnunet/src/regex/gnunet-regex-profiler.c
===================================================================
--- gnunet/src/regex/gnunet-regex-profiler.c    2013-05-03 14:39:00 UTC (rev 
27020)
+++ gnunet/src/regex/gnunet-regex-profiler.c    2013-05-03 14:56:37 UTC (rev 
27021)
@@ -1284,12 +1284,6 @@
   }
 
   /* Check arguments */
-  if (NULL == hosts_file)
-  {
-    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                _("No hosts-file specified on command line. Exiting.\n"));
-    return;
-  }
   if (NULL == policy_dir)
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
@@ -1401,7 +1395,7 @@
   static const struct GNUNET_GETOPT_CommandLineOption options[] = {
     {'o', "output-file", "FILENAME",
      gettext_noop ("name of the file for writing statistics"),
-     1, &GNUNET_GETOPT_set_string, &data_filename},
+     GNUNET_YES, &GNUNET_GETOPT_set_string, &data_filename},
     {'t', "matching-timeout", "TIMEOUT",
       gettext_noop ("wait TIMEOUT before considering a string match as 
failed"),
       GNUNET_YES, &GNUNET_GETOPT_set_relative_time, &search_timeout_time },




reply via email to

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