mirror of
https://github.com/nginx/nginx.git
synced 2026-07-31 08:37:56 -05:00
do not try to calculate procent sum if there was an error
This commit is contained in:
@@ -163,6 +163,10 @@ ngx_conf_split_clients_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
||||
|
||||
*cf = save;
|
||||
|
||||
if (rv != NGX_CONF_OK) {
|
||||
return rv;
|
||||
}
|
||||
|
||||
sum = 0;
|
||||
last = 0;
|
||||
part = ctx->parts.elts;
|
||||
|
||||
Reference in New Issue
Block a user