omit unnecessary code

This commit is contained in:
Igor Sysoev 2007-07-22 19:11:52 +00:00
parent 1e3b96aadd
commit 7f54b9eb77

View file

@ -243,9 +243,6 @@ ngx_http_memcached_create_request(ngx_http_request_t *r)
} }
len = sizeof("get ") - 1 + vv->len + sizeof(CRLF) - 1; len = sizeof("get ") - 1 + vv->len + sizeof(CRLF) - 1;
if (vv->len) {
len += 1 + vv->len;
}
b = ngx_create_temp_buf(r->pool, len); b = ngx_create_temp_buf(r->pool, len);
if (b == NULL) { if (b == NULL) {