summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nxt_application.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_application.c b/src/nxt_application.c
index 62167040..834badf9 100644
--- a/src/nxt_application.c
+++ b/src/nxt_application.c
@@ -289,7 +289,7 @@ nxt_discovery_modules(nxt_task_t *task, const char *path)
*p++ = ']';
- if (nxt_slow_path(p >= end)) {
+ if (nxt_slow_path(p > end)) {
nxt_alert(task, "discovery write past the buffer");
goto fail;
}