summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_controller.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-05-26 20:30:51 +0300
committerValentin Bartenev <vbart@nginx.com>2017-05-26 20:30:51 +0300
commit5cca4b3ab78ee964081c3eba6eb715fdf3ed4dbd (patch)
tree6941a252ed61602de9962e7abb898ff3ebbfce02 /src/nxt_controller.c
parent4f9f4637990f0cf2811318a4c19c223b3d894d57 (diff)
downloadunit-5cca4b3ab78ee964081c3eba6eb715fdf3ed4dbd.tar.gz
unit-5cca4b3ab78ee964081c3eba6eb715fdf3ed4dbd.tar.bz2
Style and a trivial fix.
Diffstat (limited to '')
-rw-r--r--src/nxt_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c
index f70b481c..15c7b0cd 100644
--- a/src/nxt_controller.c
+++ b/src/nxt_controller.c
@@ -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");