diff options
author | bartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96> | 2013-01-25 11:54:56 +0000 |
---|---|---|
committer | bartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96> | 2013-01-25 11:54:56 +0000 |
commit | d85b07416d8da03548b8448fbe99dd533535ef58 (patch) | |
tree | e91614b9cf8faaeb1c63ac38db7c4de29910887b /src/regex/gnunet-regex-profiler.c | |
parent | 8caf339f41d8775435f12ba096cff50fa856d6f1 (diff) |
- pass local ID to announce
git-svn-id: https://gnunet.org/svn/gnunet@25893 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/regex/gnunet-regex-profiler.c')
-rw-r--r-- | src/regex/gnunet-regex-profiler.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c index 86183a5fc3..292c845b0b 100644 --- a/src/regex/gnunet-regex-profiler.c +++ b/src/regex/gnunet-regex-profiler.c @@ -401,7 +401,7 @@ regex_found_handler (void *cls, /** - * Mesh connect callback. + * DHT connect callback. * * @param cls internal peer id. * @param op operation handle. @@ -410,7 +410,7 @@ regex_found_handler (void *cls, */ static void dht_connect_cb (void *cls, struct GNUNET_TESTBED_Operation *op, - void *ca_result, const char *emsg); + void *ca_result, const char *emsg); /** * DHT connect adapter. @@ -509,16 +509,12 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) GNUNET_snprintf (output_buffer, sizeof (output_buffer), "%p Search string not found: %s (%d)\n%p On peer: %u (%p)\n%p With policy file: %s\n%p After: %s\n", - peer, - peer->search_str, - peer->search_str_matched, - peer, - peer->id, + peer, peer->search_str, peer->search_str_matched, + peer, peer->id, peer, + peer, peer->policy_file, peer, - peer, - peer->policy_file, - peer, - GNUNET_STRINGS_relative_time_to_string (prof_time, GNUNET_NO)); + GNUNET_STRINGS_relative_time_to_string (prof_time, + GNUNET_NO)); if (size != GNUNET_DISK_file_write (data_file, output_buffer, size)) GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Unable to write to file!\n"); } |