summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-07-07 21:20:29 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-07-07 21:20:29 +0300
commitaaf9378dcca5fffd5c63e9073238c75c40fcc92f (patch)
tree286cedf989eaad17ec752b406d2b4359a1ab82c2 /src/nxt_router.c
parentb54bcef53de43cc07c3a7ce60377d6221d49610d (diff)
downloadunit-aaf9378dcca5fffd5c63e9073238c75c40fcc92f.tar.gz
unit-aaf9378dcca5fffd5c63e9073238c75c40fcc92f.tar.bz2
Router: a fix in the previous changeset.
Diffstat (limited to '')
-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 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;