Mercurial > hg > nginx-quic
diff src/http/modules/ngx_http_limit_zone_module.c @ 1036:defdce84b172
fix comparison
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Jan 2007 19:01:10 +0000 |
parents | ce08bc4cb97b |
children | 03341711f9a2 |
line wrap: on
line diff
--- 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_req 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) {