diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-07-07 21:20:29 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-07-07 21:20:29 +0300 |
commit | aaf9378dcca5fffd5c63e9073238c75c40fcc92f (patch) | |
tree | 286cedf989eaad17ec752b406d2b4359a1ab82c2 /src/nxt_router.c | |
parent | b54bcef53de43cc07c3a7ce60377d6221d49610d (diff) | |
download | unit-aaf9378dcca5fffd5c63e9073238c75c40fcc92f.tar.gz unit-aaf9378dcca5fffd5c63e9073238c75c40fcc92f.tar.bz2 |
Router: a fix in the previous changeset.
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 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; |