summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_runtime.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;