aboutsummaryrefslogtreecommitdiff
path: root/src/regex/gnunet-daemon-regexprofiler.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-01-25 11:54:56 +0000
committerBart Polot <bart@net.in.tum.de>2013-01-25 11:54:56 +0000
commit70917f2b18188f42582157d47ebffc7727117c41 (patch)
treee91614b9cf8faaeb1c63ac38db7c4de29910887b /src/regex/gnunet-daemon-regexprofiler.c
parent302168de1e43aec3d2d2dfe3fd6707b0f3f68300 (diff)
downloadgnunet-70917f2b18188f42582157d47ebffc7727117c41.tar.gz
gnunet-70917f2b18188f42582157d47ebffc7727117c41.zip
- pass local ID to announce
Diffstat (limited to 'src/regex/gnunet-daemon-regexprofiler.c')
-rw-r--r--src/regex/gnunet-daemon-regexprofiler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex/gnunet-daemon-regexprofiler.c b/src/regex/gnunet-daemon-regexprofiler.c
index 610ed4ef1..0175f80ee 100644
--- a/src/regex/gnunet-daemon-regexprofiler.c
+++ b/src/regex/gnunet-daemon-regexprofiler.c
@@ -168,7 +168,7 @@ announce_regex (const char * regex)
168 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Announcing regex: %s\n", regex); 168 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Announcing regex: %s\n", regex);
169 GNUNET_STATISTICS_update (stats_handle, "# regexes announced", 1, GNUNET_NO); 169 GNUNET_STATISTICS_update (stats_handle, "# regexes announced", 1, GNUNET_NO);
170 announce_handle = GNUNET_REGEX_announce (dht_handle, 170 announce_handle = GNUNET_REGEX_announce (dht_handle,
171 NULL, 171 &my_full_id,
172 regex, 172 regex,
173 (unsigned int) max_path_compression, 173 (unsigned int) max_path_compression,
174 stats_handle); 174 stats_handle);
@@ -411,7 +411,7 @@ main (int argc, char *const *argv)
411 411
412 if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) 412 if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv))
413 return 2; 413 return 2;
414 sleep (60); 414 sleep (30);
415 return (GNUNET_OK == 415 return (GNUNET_OK ==
416 GNUNET_PROGRAM_run (argc, argv, "regexprofiler", 416 GNUNET_PROGRAM_run (argc, argv, "regexprofiler",
417 gettext_noop 417 gettext_noop