diff options
-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 f6d2ae34..2089a704 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -547,7 +547,7 @@ nxt_router_listener_application(nxt_router_temp_conf_t *tmcf, nxt_str_t *name) app = nxt_router_app_find(&tmcf->apps, name); if (app == NULL) { - app = nxt_router_app_find(&tmcf->conf->router->apps, name); + app = nxt_router_app_find(&tmcf->previous, name); } return app; |