mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
do not try to calculate procent sum if there was an error
This commit is contained in:
parent
27b54fda94
commit
cd04da475d
@ -163,6 +163,10 @@ ngx_conf_split_clients_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||||||
|
|
||||||
*cf = save;
|
*cf = save;
|
||||||
|
|
||||||
|
if (rv != NGX_CONF_OK) {
|
||||||
|
return rv;
|
||||||
|
}
|
||||||
|
|
||||||
sum = 0;
|
sum = 0;
|
||||||
last = 0;
|
last = 0;
|
||||||
part = ctx->parts.elts;
|
part = ctx->parts.elts;
|
||||||
|
Loading…
Reference in New Issue
Block a user