aboutsummaryrefslogtreecommitdiff
path: root/src/regex
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-20 15:26:03 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-20 15:26:03 +0000
commitd544e81283a24082e6423c8f4377939f6fefa780 (patch)
treeab8aaf264cdd6d27853ff15a2f7542c801acf721 /src/regex
parenta0a09022f0d0df917465b8e71753a69f066058d3 (diff)
downloadgnunet-d544e81283a24082e6423c8f4377939f6fefa780.tar.gz
gnunet-d544e81283a24082e6423c8f4377939f6fefa780.zip
-use the same hash function to map service name to hash, not once strlen and then strlen+1
Diffstat (limited to 'src/regex')
-rw-r--r--src/regex/regex_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex/regex_api.c b/src/regex/regex_api.c
index 0da97d072..979f58d47 100644
--- a/src/regex/regex_api.c
+++ b/src/regex/regex_api.c
@@ -186,7 +186,7 @@ struct GNUNET_REGEX_Search
186 GNUNET_REGEX_Found callback; 186 GNUNET_REGEX_Found callback;
187 187
188 /** 188 /**
189 * Closure for 'callback'. 189 * Closure for @e callback.
190 */ 190 */
191 void *callback_cls; 191 void *callback_cls;
192 192
@@ -201,7 +201,7 @@ struct GNUNET_REGEX_Search
201 * We got a response or disconnect after asking regex 201 * We got a response or disconnect after asking regex
202 * to do the search. Handle it. 202 * to do the search. Handle it.
203 * 203 *
204 * @param cls the 'struct GNUNET_REGEX_Search' to retry 204 * @param cls the `struct GNUNET_REGEX_Search` to retry
205 * @param msg NULL on disconnect 205 * @param msg NULL on disconnect
206 */ 206 */
207static void 207static void