diff options
Diffstat (limited to 'src/regex/gnunet-regex-profiler.c')
-rw-r--r-- | src/regex/gnunet-regex-profiler.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c index 4e55bd1c6..5a7cb9acd 100644 --- a/src/regex/gnunet-regex-profiler.c +++ b/src/regex/gnunet-regex-profiler.c | |||
@@ -725,7 +725,7 @@ regex_found_handler (void *cls, | |||
725 | 725 | ||
726 | if (GNUNET_YES == peer->search_str_matched) | 726 | if (GNUNET_YES == peer->search_str_matched) |
727 | { | 727 | { |
728 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 728 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
729 | "String %s on peer %u already matched!\n", | 729 | "String %s on peer %u already matched!\n", |
730 | peer->search_str, peer->id); | 730 | peer->search_str, peer->id); |
731 | return; | 731 | return; |
@@ -824,7 +824,7 @@ search_timed_out (void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc) | |||
824 | 824 | ||
825 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 825 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
826 | "Search timed out after %s." | 826 | "Search timed out after %s." |
827 | "Collecting stats and shutting down.\n", | 827 | "Collecting stats and shutting down.\n", |
828 | GNUNET_STRINGS_relative_time_to_string (search_timeout_time, | 828 | GNUNET_STRINGS_relative_time_to_string (search_timeout_time, |
829 | GNUNET_NO)); | 829 | GNUNET_NO)); |
830 | 830 | ||
@@ -1008,7 +1008,7 @@ announce_next_regex (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1008 | 1008 | ||
1009 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Starting daemon %u\n", next_search); | 1009 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Starting daemon %u\n", next_search); |
1010 | peer = &peers[next_search]; | 1010 | peer = &peers[next_search]; |
1011 | peer->daemon_op = | 1011 | peer->daemon_op = |
1012 | GNUNET_TESTBED_peer_manage_service (NULL, | 1012 | GNUNET_TESTBED_peer_manage_service (NULL, |
1013 | peer->peer_handle, | 1013 | peer->peer_handle, |
1014 | "regexprofiler", | 1014 | "regexprofiler", |
@@ -1113,7 +1113,7 @@ dht_da (void *cls, void *op_result) | |||
1113 | * @param links_failed the number of overlay link connection attempts that | 1113 | * @param links_failed the number of overlay link connection attempts that |
1114 | * failed | 1114 | * failed |
1115 | */ | 1115 | */ |
1116 | static void | 1116 | static void |
1117 | test_master (void *cls, | 1117 | test_master (void *cls, |
1118 | struct GNUNET_TESTBED_RunHandle *h, | 1118 | struct GNUNET_TESTBED_RunHandle *h, |
1119 | unsigned int num_peers_, | 1119 | unsigned int num_peers_, |
@@ -1148,7 +1148,7 @@ test_master (void *cls, | |||
1148 | settle_time = | 1148 | settle_time = |
1149 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, | 1149 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, |
1150 | 10 * num_peers); | 1150 | 10 * num_peers); |
1151 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1151 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1152 | "Waiting for DHT for %s to settle new connections.\n\n", | 1152 | "Waiting for DHT for %s to settle new connections.\n\n", |
1153 | GNUNET_STRINGS_relative_time_to_string(settle_time, GNUNET_NO)); | 1153 | GNUNET_STRINGS_relative_time_to_string(settle_time, GNUNET_NO)); |
1154 | GNUNET_SCHEDULER_add_delayed (settle_time, &do_announce, NULL); | 1154 | GNUNET_SCHEDULER_add_delayed (settle_time, &do_announce, NULL); |
@@ -1168,7 +1168,7 @@ test_master (void *cls, | |||
1168 | * @param event information on what is happening | 1168 | * @param event information on what is happening |
1169 | */ | 1169 | */ |
1170 | static void | 1170 | static void |
1171 | master_controller_cb (void *cls, | 1171 | master_controller_cb (void *cls, |
1172 | const struct GNUNET_TESTBED_EventInformation *event) | 1172 | const struct GNUNET_TESTBED_EventInformation *event) |
1173 | { | 1173 | { |
1174 | switch (event->type) | 1174 | switch (event->type) |
@@ -1315,7 +1315,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
1315 | "REANNOUNCE_PERIOD_MAX", | 1315 | "REANNOUNCE_PERIOD_MAX", |
1316 | &reannounce_period_max)) | 1316 | &reannounce_period_max)) |
1317 | { | 1317 | { |
1318 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1318 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1319 | "reannounce_period_max not given. Using 10 minutes.\n"); | 1319 | "reannounce_period_max not given. Using 10 minutes.\n"); |
1320 | reannounce_period_max = | 1320 | reannounce_period_max = |
1321 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 10); | 1321 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 10); |
@@ -1424,7 +1424,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
1424 | "SETUP_TIMEOUT", | 1424 | "SETUP_TIMEOUT", |
1425 | &abort_time)) | 1425 | &abort_time)) |
1426 | { | 1426 | { |
1427 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1427 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1428 | "SETUP_TIMEOUT not given. Using 15 minutes.\n"); | 1428 | "SETUP_TIMEOUT not given. Using 15 minutes.\n"); |
1429 | abort_time = | 1429 | abort_time = |
1430 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 15); | 1430 | GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 15); |