From aaf9378dcca5fffd5c63e9073238c75c40fcc92f Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 7 Jul 2017 21:20:29 +0300 Subject: Router: a fix in the previous changeset. --- src/nxt_router.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_router.c') 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; -- cgit