aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_api_search.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-17 18:13:55 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-17 18:13:55 +0100
commit17d34d5e094c2f8a90717b07e3a711d6e2c15903 (patch)
tree777b5323145a5f4d1f044da29a682799008a11d4 /src/regex/regex_api_search.c
parent3391977e3f92a2ebcafc14ea6374aecd580df873 (diff)
more renamings relating to 'new' service now just being the 'normal' service
Diffstat (limited to 'src/regex/regex_api_search.c')
-rw-r--r--src/regex/regex_api_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex/regex_api_search.c b/src/regex/regex_api_search.c
index b7a015f876..a5480ac7a6 100644
--- a/src/regex/regex_api_search.c
+++ b/src/regex/regex_api_search.c
@@ -206,7 +206,7 @@ GNUNET_REGEX_search (const struct GNUNET_CONFIGURATION_Handle *cfg,
struct GNUNET_REGEX_Search *s;
size_t slen = strlen (string) + 1;
- if (slen + sizeof (struct RegexSearchMessage) >= GNUNET_SERVER_MAX_MESSAGE_SIZE)
+ if (slen + sizeof (struct RegexSearchMessage) >= GNUNET_MAX_MESSAGE_SIZE)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
_("Search string `%s' is too long!\n"),