comparison src/http/modules/ngx_http_split_clients_module.c @ 4593:834049edae24

Fixed grammar in error messages.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 12 Apr 2012 19:35:41 +0000
parents ae63013cbffa
children 9c9fbdbe9383
comparison
equal deleted inserted replaced
4592:ab1649495d30 4593:834049edae24
175 175
176 for (i = 0; i < ctx->parts.nelts; i++) { 176 for (i = 0; i < ctx->parts.nelts; i++) {
177 sum = part[i].percent ? sum + part[i].percent : 10000; 177 sum = part[i].percent ? sum + part[i].percent : 10000;
178 if (sum > 10000) { 178 if (sum > 10000) {
179 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 179 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
180 "percent sum is more than 100%%"); 180 "percent total is greater than 100%%");
181 return NGX_CONF_ERROR; 181 return NGX_CONF_ERROR;
182 } 182 }
183 183
184 if (part[i].percent) { 184 if (part[i].percent) {
185 last += part[i].percent * (uint64_t) 0xffffffff / 10000; 185 last += part[i].percent * (uint64_t) 0xffffffff / 10000;