From e4bea2c75c6643f84eaaaae8f7c474e00e943b8a Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Tue, 10 Oct 2017 19:15:08 +0300 Subject: Optimized application type handling. --- src/nxt_runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_runtime.c') 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; -- cgit