summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_controller.c')
-rw-r--r--src/nxt_controller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c
index 99c7ca10..5f3e55ef 100644
--- a/src/nxt_controller.c
+++ b/src/nxt_controller.c
@@ -1263,7 +1263,7 @@ nxt_controller_process_config(nxt_task_t *task, nxt_controller_request_t *req,
/* Skip UTF-8 BOM. */
if (nxt_buf_mem_used_size(mbuf) >= 3
- && nxt_memcmp(mbuf->pos, "\xEF\xBB\xBF", 3) == 0)
+ && memcmp(mbuf->pos, "\xEF\xBB\xBF", 3) == 0)
{
mbuf->pos += 3;
}
@@ -1940,7 +1940,7 @@ nxt_controller_process_control(nxt_task_t *task,
}
if (!nxt_str_start(path, "applications/", 13)
- || nxt_memcmp(path->start + path->length - 8, "/restart", 8) != 0)
+ || memcmp(path->start + path->length - 8, "/restart", 8) != 0)
{
goto not_found;
}