summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_upstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_upstream.c')
-rw-r--r--src/nxt_upstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_upstream.c b/src/nxt_upstream.c
index c8ecbbe6..9f81b286 100644
--- a/src/nxt_upstream.c
+++ b/src/nxt_upstream.c
@@ -86,11 +86,11 @@ nxt_upstream_find(nxt_upstreams_t *upstreams, nxt_str_t *name,
action->u.upstream_number = i;
action->handler = nxt_upstream_handler;
- return NXT_DECLINED;
+ return NXT_OK;
}
}
- return NXT_OK;
+ return NXT_DECLINED;
}