Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Fix building against nginx without the --with-debug option specified. #4

merged 1 commit into from

2 participants


Fixes issue #3.

@gnosek gnosek merged commit 5f6a3b7 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 6, 2011
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  ngx_http_upstream_fair_module.c
2  ngx_http_upstream_fair_module.c
@@ -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;
@@ -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);
Something went wrong with that request. Please try again.