aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist/hostlist-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostlist/hostlist-server.c')
-rw-r--r--src/hostlist/hostlist-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostlist/hostlist-server.c b/src/hostlist/hostlist-server.c
index 0726bf3e0..014c0f41f 100644
--- a/src/hostlist/hostlist-server.c
+++ b/src/hostlist/hostlist-server.c
@@ -399,7 +399,7 @@ connect_handler (void *cls,
399 if (hostlist_uri == NULL) 399 if (hostlist_uri == NULL)
400 return; 400 return;
401 size = strlen (hostlist_uri) + 1; 401 size = strlen (hostlist_uri) + 1;
402 if (size + sizeof (struct GNUNET_MessageHeader) > GNUNET_SERVER_MAX_MESSAGE_SIZE) 402 if (size + sizeof (struct GNUNET_MessageHeader) >= GNUNET_SERVER_MAX_MESSAGE_SIZE)
403 { 403 {
404 GNUNET_break (0); 404 GNUNET_break (0);
405 return; 405 return;