diff options
Diffstat (limited to 'src/hostlist/hostlist-server.c')
-rw-r--r-- | src/hostlist/hostlist-server.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hostlist/hostlist-server.c b/src/hostlist/hostlist-server.c index 34e9310e4..5cc26c409 100644 --- a/src/hostlist/hostlist-server.c +++ b/src/hostlist/hostlist-server.c | |||
@@ -116,7 +116,10 @@ host_processor (void *cls, | |||
116 | size_t s; | 116 | size_t s; |
117 | 117 | ||
118 | if (peer == NULL) | 118 | if (peer == NULL) |
119 | finish_response (results); | 119 | { |
120 | finish_response (results); | ||
121 | return; | ||
122 | } | ||
120 | old = results->size; | 123 | old = results->size; |
121 | s = GNUNET_HELLO_size(hello); | 124 | s = GNUNET_HELLO_size(hello); |
122 | if (old + s >= GNUNET_MAX_MALLOC_CHECKED) | 125 | if (old + s >= GNUNET_MAX_MALLOC_CHECKED) |