Style and a trivial fix.

This commit is contained in:
Valentin Bartenev
2017-05-26 20:30:51 +03:00
parent 4f9f463799
commit 5cca4b3ab7
3 changed files with 4 additions and 4 deletions

View File

@@ -571,7 +571,7 @@ nxt_controller_process_request(nxt_task_t *task, nxt_event_conn_t *c,
path.length = req->parser.target_end - path.start;
}
value = nxt_conf_json_value_get(nxt_controller_conf.root, &path);
value = nxt_conf_json_get_value(nxt_controller_conf.root, &path);
if (value != NULL) {
nxt_str_set(&resp.status_line, "200 OK");