summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_master_process.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-07-19 23:11:55 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-07-19 23:11:55 +0300
commit68d35e915726a16aa0b8501ea840dd932f86abba (patch)
tree0045e956a644e13c4fb1b64c1715b1854745105b /src/nxt_master_process.c
parenta782faa499523f988df0fe0ac5afed69fab008a1 (diff)
downloadunit-68d35e915726a16aa0b8501ea840dd932f86abba.tar.gz
unit-68d35e915726a16aa0b8501ea840dd932f86abba.tar.bz2
Fixed a bug introduced in the changeset 9585902ff351.
Diffstat (limited to 'src/nxt_master_process.c')
-rw-r--r--src/nxt_master_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_master_process.c b/src/nxt_master_process.c
index a243a671..bd72a752 100644
--- a/src/nxt_master_process.c
+++ b/src/nxt_master_process.c
@@ -347,7 +347,7 @@ nxt_master_start_worker_process(nxt_task_t *task, nxt_runtime_t *rt,
group = (char *) last;
nxt_memcpy(group, app_conf->group.start, app_conf->group.length);
- end = nxt_pointer_to(group, app_conf->group.length);
+ last = nxt_pointer_to(group, app_conf->group.length);
*last++ = '\0';
} else {