Mercurial > hg > nginx
changeset 1036:defdce84b172
fix comparison
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Jan 2007 19:01:10 +0000 |
parents | 4fcea9a9117b |
children | c28c8bdb57f4 |
files | src/http/modules/ngx_http_limit_zone_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_limit_zone_module.c Tue Jan 16 11:04:51 2007 +0000 +++ b/src/http/modules/ngx_http_limit_zone_module.c Tue Jan 16 19:01:10 2007 +0000 @@ -179,7 +179,7 @@ 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) {