diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-01-16 19:01:10 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-01-16 19:01:10 +0000 |
commit | 03c9cb7afc4a8004b8e29b1018f288c13d5dd0e8 (patch) | |
tree | 6cc1c2613cda4c863ed727db309b5dd9960a2d2d /src | |
parent | c326529febc48498af6e0701115a29f57f0513b9 (diff) | |
download | nginx-03c9cb7afc4a8004b8e29b1018f288c13d5dd0e8.tar.gz nginx-03c9cb7afc4a8004b8e29b1018f288c13d5dd0e8.zip |
fix comparison
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_limit_zone_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_limit_zone_module.c b/src/http/modules/ngx_http_limit_zone_module.c index 416a4ebf4..17643e174 100644 --- a/src/http/modules/ngx_http_limit_zone_module.c +++ b/src/http/modules/ngx_http_limit_zone_module.c @@ -179,7 +179,7 @@ ngx_http_limit_zone_handler(ngx_http_request_t *r) do { lz = (ngx_http_limit_zone_node_t *) &node->color; - rc = ngx_memn2cmp(lz->data, vv->data, (size_t) lz->len, len); + rc = ngx_memn2cmp(vv->data, lz->data, len, (size_t) lz->len); if (rc == 0) { if ((ngx_uint_t) lz->conn < lzcf->conn) { |