aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gns_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/gns_api.c')
-rw-r--r--src/gns/gns_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c
index 15a59a4bc..26293f4df 100644
--- a/src/gns/gns_api.c
+++ b/src/gns/gns_api.c
@@ -391,7 +391,7 @@ GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle,
391 "Trying to lookup `%s' in GNS\n", 391 "Trying to lookup `%s' in GNS\n",
392 name); 392 name);
393 nlen = strlen (name) + 1; 393 nlen = strlen (name) + 1;
394 if (nlen >= GNUNET_SERVER_MAX_MESSAGE_SIZE - sizeof (*lr)) 394 if (nlen >= GNUNET_MAX_MESSAGE_SIZE - sizeof (*lr))
395 { 395 {
396 GNUNET_break (0); 396 GNUNET_break (0);
397 return NULL; 397 return NULL;