Permalink
Browse files

Fix compile error on some platforms

Reported by Jeff Berg
  • Loading branch information...
1 parent 46667a1 commit c9c16970ae9ca6cef17fecec2f6723ed90e2a942 @gnosek committed Jun 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 ngx_http_upstream_fair_module.c
View
2 ngx_http_upstream_fair_module.c
@@ -746,7 +746,7 @@ ngx_http_upstream_choose_fair_peer(ngx_peer_connection_t *pc,
sched_score /= weight;
}
- ngx_log_debug7(NGX_LOG_DEBUG_HTTP, pc->log, 0, "[upstream_fair] bss = %ui, ss = %ui (n = %d, w = %d/%d, f = %d/%d, weight = %d)",
+ ngx_log_debug8(NGX_LOG_DEBUG_HTTP, pc->log, 0, "[upstream_fair] bss = %ui, ss = %ui (n = %d, w = %d/%d, f = %d/%d, weight = %d)",
best_sched_score, sched_score, n, peer->shared->current_weight, peer->weight, peer->shared->fails, peer->max_fails, weight);
if (sched_score <= best_sched_score) {

0 comments on commit c9c1697

Please sign in to comment.