Skip to content

Commit

Permalink
Fix some misplaced lines
Browse files Browse the repository at this point in the history
  • Loading branch information
rs committed Aug 18, 2016
1 parent ac2966a commit f1c1716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ngx_http_upstream_jdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f1c1716

Please sign in to comment.