From 7f54b9eb77a0fd24f0615c958c851eddfacc7c36 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 22 Jul 2007 19:11:52 +0000 Subject: [PATCH] omit unnecessary code --- src/http/modules/ngx_http_memcached_module.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/http/modules/ngx_http_memcached_module.c b/src/http/modules/ngx_http_memcached_module.c index ffd872b44..3430cbb65 100644 --- a/src/http/modules/ngx_http_memcached_module.c +++ b/src/http/modules/ngx_http_memcached_module.c @@ -243,9 +243,6 @@ ngx_http_memcached_create_request(ngx_http_request_t *r) } len = sizeof("get ") - 1 + vv->len + sizeof(CRLF) - 1; - if (vv->len) { - len += 1 + vv->len; - } b = ngx_create_temp_buf(r->pool, len); if (b == NULL) {