comparison src/http/modules/ngx_http_split_clients_module.c @ 3918:eccd0b66a4ab

fix debug logging
author Igor Sysoev <igor@sysoev.ru>
date Fri, 13 May 2011 10:06:56 +0000
parents 12d8d2f30205
children d620f497c50f
comparison
equal deleted inserted replaced
3917:2a70484a6580 3918:eccd0b66a4ab
92 part = ctx->parts.elts; 92 part = ctx->parts.elts;
93 93
94 for (i = 0; i < ctx->parts.nelts; i++) { 94 for (i = 0; i < ctx->parts.nelts; i++) {
95 95
96 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 96 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
97 "%D %D", hash, part[i].percent); 97 "http split: %uD %uD", hash, part[i].percent);
98 98
99 if (hash < part[i].percent) { 99 if (hash < part[i].percent) {
100 *v = part[i].value; 100 *v = part[i].value;
101 return NGX_OK; 101 return NGX_OK;
102 } 102 }