diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-22 13:26:36 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-22 13:26:36 +0000 |
commit | bad29fd9a1cc3b1c7df7b992212568918c961b52 (patch) | |
tree | 692be9fda2a949f844690e360ce9d6d5f50f8916 /src/regex/test_regex_integration.c | |
parent | 7b636c9e74039f14b25e70d1050432d9782efef9 (diff) |
add logging and in particular checks to make sure no '.' wildcards are during initial transitions of the DFA
Diffstat (limited to 'src/regex/test_regex_integration.c')
-rw-r--r-- | src/regex/test_regex_integration.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex/test_regex_integration.c b/src/regex/test_regex_integration.c index b28ab15d0c..0cb177fcc8 100644 --- a/src/regex/test_regex_integration.c +++ b/src/regex/test_regex_integration.c @@ -85,7 +85,7 @@ end_badly () /** * Search callback function, invoked for every result that was found. * - * @param cls Closure provided in GNUNET_REGEX_search. + * @param cls Closure provided in #GNUNET_REGEX_search(). * @param id Peer providing a regex that matches the string. * @param get_path Path of the get request. * @param get_path_length Length of @a get_path. @@ -103,9 +103,9 @@ found_cb (void *cls, const char *str = cls; static int found; - fprintf (stderr, - "IPv%s-exit found\n", - str); + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "IPv%s-exit found\n", + str); if (0 == strcmp (str, "4")) found |= 4; if (0 == strcmp (str, "6")) |