diff options
author | Igor Sysoev <igor@sysoev.ru> | 2019-08-06 15:29:39 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2019-08-06 15:29:39 +0300 |
commit | 17bb22a4e46b390f42af665d1e92d2e1a09c9b56 (patch) | |
tree | 5d720b03363c529a26ad0367d03fb85dc7d8c68c /src/nxt_router.c | |
parent | fdf570f1d9561bfc349f24c87e1ac35afd2254e2 (diff) | |
download | unit-17bb22a4e46b390f42af665d1e92d2e1a09c9b56.tar.gz unit-17bb22a4e46b390f42af665d1e92d2e1a09c9b56.tar.bz2 |
Refactored HTTP protocol callback table.
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r-- | src/nxt_router.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index 018cd4f4..f43b9a9e 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -3058,7 +3058,7 @@ nxt_router_access_log_writer(nxt_task_t *task, nxt_http_request_t *r, *p++ = ' '; - bytes = nxt_http_proto_body_bytes_sent[r->protocol](task, r->proto); + bytes = nxt_http_proto[r->protocol].body_bytes_sent(task, r->proto); p = nxt_sprintf(p, p + NXT_OFF_T_LEN, "%O", bytes); |