Skip to content

Commit

Permalink
Fix building against nginx without the --with-debug option specified.
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip K. Warren committed Dec 6, 2011
1 parent 7171df8 commit 357d89d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ngx_http_upstream_fair_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,7 @@ ngx_http_upstream_init_fair(ngx_conf_t *cf, ngx_http_upstream_srv_conf_t *us)
static void
ngx_http_upstream_fair_update_nreq(ngx_http_upstream_fair_peer_data_t *fp, int delta, ngx_log_t *log)
{
#if (NGX_DEBUG)
ngx_uint_t nreq;
ngx_uint_t total_nreq;

Expand All @@ -655,6 +656,7 @@ ngx_http_upstream_fair_update_nreq(ngx_http_upstream_fair_peer_data_t *fp, int d
"[upstream_fair] nreq for peer %ui @ %p/%p now %d, total %d, delta %d",
fp->current, fp->peers, fp->peers->peer[fp->current].shared, nreq,
total_nreq, delta);
#endif
}

/*
Expand Down

0 comments on commit 357d89d

Please sign in to comment.