summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-04-20 23:57:46 +0300
committerValentin Bartenev <vbart@nginx.com>2018-04-20 23:57:46 +0300
commit5371891492607483c9068ef31cc38f3c3316d9de (patch)
tree53f67c77f0505463bd3084017f1a465fb554e045 /src
parent8ed36563d1be2d020742aad28ceaa1694814c2ce (diff)
downloadunit-5371891492607483c9068ef31cc38f3c3316d9de.tar.gz
unit-5371891492607483c9068ef31cc38f3c3316d9de.tar.bz2
Fixed segfault when two modules have the same type and version.
The bug appeared in 217e48a3b091. This closes #104 issue on GitHub.
Diffstat (limited to '')
-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 2a03b8f5..22461e57 100644
--- a/src/nxt_application.c
+++ b/src/nxt_application.c
@@ -239,7 +239,7 @@ nxt_discovery_module(nxt_task_t *task, nxt_mp_t *mp, nxt_array_t *modules,
nxt_log(task, NXT_LOG_NOTICE,
"ignoring %s module with the same "
"application language version %V %V as in %V",
- name, &app->type, version, &module[i].file);
+ name, &app->type, &version, &module[i].file);
goto done;
}