diff options
Diffstat (limited to 'src/lib/util/test_regex.c')
-rw-r--r-- | src/lib/util/test_regex.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/util/test_regex.c b/src/lib/util/test_regex.c index 968828755..789418fa0 100644 --- a/src/lib/util/test_regex.c +++ b/src/lib/util/test_regex.c | |||
@@ -109,10 +109,14 @@ test_policy6toregex (const char *policy, | |||
109 | r = GNUNET_TUN_ipv6policy2regex (policy); | 109 | r = GNUNET_TUN_ipv6policy2regex (policy); |
110 | if (NULL == r) | 110 | if (NULL == r) |
111 | { | 111 | { |
112 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
113 | "Failed to parse `%s'\n", | ||
114 | policy); | ||
112 | GNUNET_break (0); | 115 | GNUNET_break (0); |
113 | return 1; | 116 | return 1; |
114 | } | 117 | } |
115 | if (0 != strcmp (regex, r)) | 118 | if (0 != strcmp (regex, |
119 | r)) | ||
116 | { | 120 | { |
117 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 121 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
118 | "Expected: `%s' but got: `%s'\n", | 122 | "Expected: `%s' but got: `%s'\n", |