From 5371891492607483c9068ef31cc38f3c3316d9de Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Fri, 20 Apr 2018 23:57:46 +0300 Subject: [PATCH] Fixed segfault when two modules have the same type and version. The bug appeared in 217e48a3b091. This closes #104 issue on GitHub. --- src/nxt_application.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }