summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2021-04-22 13:13:06 +0800
committerZhidao HONG <z.hong@f5.com>2021-04-22 13:13:06 +0800
commit113afb09ea7ddeebf2376cf6df3af212705e6128 (patch)
treed39074cf006ed99d03ee97503d70f8981405deec /src/nxt_router.c
parentf90754f84a375d5183ed6883862d19dfd417225a (diff)
downloadunit-113afb09ea7ddeebf2376cf6df3af212705e6128.tar.gz
unit-113afb09ea7ddeebf2376cf6df3af212705e6128.tar.bz2
Router: grouped app and share fields in nxt_http_action_t.
This is a prerequisite for further introduction of openat2() features. No functional changes.
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r--src/nxt_router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 8524b358..a20e4ede 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -2144,7 +2144,7 @@ nxt_router_listener_application(nxt_router_conf_t *rtcf, nxt_str_t *name,
return NXT_DECLINED;
}
- action->u.application = app;
+ action->u.app.application = app;
action->handler = nxt_http_application_handler;
return NXT_OK;