From f1c1716747bcfd80d5e7bb04812cab4e23fa514e Mon Sep 17 00:00:00 2001 From: Olivier Poitrey Date: Wed, 17 Aug 2016 21:41:51 -0700 Subject: [PATCH] Fix some misplaced lines --- ngx_http_upstream_jdomain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ngx_http_upstream_jdomain.c b/ngx_http_upstream_jdomain.c index 6d653ab..de58679 100644 --- a/ngx_http_upstream_jdomain.c +++ b/ngx_http_upstream_jdomain.c @@ -221,9 +221,9 @@ ngx_http_upstream_jdomain_get_peer(ngx_peer_connection_t *pc, void *data) if(ngx_resolve_name(ctx) != NGX_OK) { ngx_log_error(NGX_LOG_ALERT, pc->log, 0, "upstream_jdomain: resolve name \"%V\" fail", &ctx->name); - urcf->resolved_access = ngx_time(); - urcf->resolved_status = NGX_JDOMAIN_STATUS_DONE; } + urcf->resolved_access = ngx_time(); + urcf->resolved_status = NGX_JDOMAIN_STATUS_DONE; assign: /* If the resolution failed during startup or if resolution returned no entries,