summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_runtime.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-10-10 19:15:08 +0300
committerValentin Bartenev <vbart@nginx.com>2017-10-10 19:15:08 +0300
commite4bea2c75c6643f84eaaaae8f7c474e00e943b8a (patch)
treec4bf6974a62f962ce19978b416eb65941ae4bd68 /src/nxt_runtime.c
parent93438a0d9e61bf382be3b648c0504fcda2f9c748 (diff)
downloadunit-e4bea2c75c6643f84eaaaae8f7c474e00e943b8a.tar.gz
unit-e4bea2c75c6643f84eaaaae8f7c474e00e943b8a.tar.bz2
Optimized application type handling.
Diffstat (limited to 'src/nxt_runtime.c')
-rw-r--r--src/nxt_runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c
index 168f4f19..8fc2bc53 100644
--- a/src/nxt_runtime.c
+++ b/src/nxt_runtime.c
@@ -90,7 +90,7 @@ nxt_runtime_create(nxt_task_t *task)
/* Should not fail. */
lang = nxt_array_add(rt->languages);
- lang->type = (nxt_str_t) nxt_string("go");
+ lang->type = NXT_APP_GO;
lang->version = (u_char *) "";
lang->file = NULL;
lang->module = &nxt_go_module;