diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-05-03 14:56:37 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-05-03 14:56:37 +0000 |
commit | cd72d5c554e8178b6da1897caa5ff930b51c8a2c (patch) | |
tree | a0dc083366ad624a79b4f86345963e90fe66345b /src/regex | |
parent | 55d43a61090c77676427067fe3b320abcbaf1fea (diff) | |
download | gnunet-cd72d5c554e8178b6da1897caa5ff930b51c8a2c.tar.gz gnunet-cd72d5c554e8178b6da1897caa5ff930b51c8a2c.zip |
- don't require hosts file anymore (testbed accepts NULL), now for real
Diffstat (limited to 'src/regex')
-rw-r--r-- | src/regex/gnunet-regex-profiler.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c index 2b136efd6..1764884b9 100644 --- a/src/regex/gnunet-regex-profiler.c +++ b/src/regex/gnunet-regex-profiler.c | |||
@@ -1284,12 +1284,6 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
1284 | } | 1284 | } |
1285 | 1285 | ||
1286 | /* Check arguments */ | 1286 | /* Check arguments */ |
1287 | if (NULL == hosts_file) | ||
1288 | { | ||
1289 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
1290 | _("No hosts-file specified on command line. Exiting.\n")); | ||
1291 | return; | ||
1292 | } | ||
1293 | if (NULL == policy_dir) | 1287 | if (NULL == policy_dir) |
1294 | { | 1288 | { |
1295 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1289 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
@@ -1401,7 +1395,7 @@ main (int argc, char *const *argv) | |||
1401 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { | 1395 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { |
1402 | {'o', "output-file", "FILENAME", | 1396 | {'o', "output-file", "FILENAME", |
1403 | gettext_noop ("name of the file for writing statistics"), | 1397 | gettext_noop ("name of the file for writing statistics"), |
1404 | 1, &GNUNET_GETOPT_set_string, &data_filename}, | 1398 | GNUNET_YES, &GNUNET_GETOPT_set_string, &data_filename}, |
1405 | {'t', "matching-timeout", "TIMEOUT", | 1399 | {'t', "matching-timeout", "TIMEOUT", |
1406 | gettext_noop ("wait TIMEOUT before considering a string match as failed"), | 1400 | gettext_noop ("wait TIMEOUT before considering a string match as failed"), |
1407 | GNUNET_YES, &GNUNET_GETOPT_set_relative_time, &search_timeout_time }, | 1401 | GNUNET_YES, &GNUNET_GETOPT_set_relative_time, &search_timeout_time }, |