comparison src/http/modules/ngx_http_memcached_module.c @ 1088:2d8e72584534

eliminate the useless space symbol
author Igor Sysoev <igor@sysoev.ru>
date Mon, 29 Jan 2007 11:54:36 +0000
parents 2deb6d858c53
children 82a8ffe51d11
comparison
equal deleted inserted replaced
1087:9de12c8d8943 1088:2d8e72584534
240 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 240 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
241 "the \"$memcached_key\" variable is not set"); 241 "the \"$memcached_key\" variable is not set");
242 return NGX_ERROR; 242 return NGX_ERROR;
243 } 243 }
244 244
245 len = sizeof("get ") - 1 + vv->len + sizeof(" " CRLF) - 1; 245 len = sizeof("get ") - 1 + vv->len + sizeof(CRLF) - 1;
246 if (vv->len) { 246 if (vv->len) {
247 len += 1 + vv->len; 247 len += 1 + vv->len;
248 } 248 }
249 249
250 b = ngx_create_temp_buf(r->pool, len); 250 b = ngx_create_temp_buf(r->pool, len);
273 ctx->key.len = b->last - ctx->key.data; 273 ctx->key.len = b->last - ctx->key.data;
274 274
275 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 275 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
276 "http memcached request: \"%V\"", &ctx->key); 276 "http memcached request: \"%V\"", &ctx->key);
277 277
278 *b->last++ = ' '; *b->last++ = CR; *b->last++ = LF; 278 *b->last++ = CR; *b->last++ = LF;
279 279
280 return NGX_OK; 280 return NGX_OK;
281 } 281 }
282 282
283 283