Router: a fix in the previous changeset.

This commit is contained in:
Igor Sysoev
2017-07-07 21:20:29 +03:00
parent b54bcef53d
commit aaf9378dcc

View File

@@ -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;