Mercurial > hg > nginx
comparison src/http/modules/ngx_http_memcached_module.c @ 1548:a83aa8c53552
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 29 Sep 2007 11:45:46 +0000 |
parents | aabbf66b61ea |
children | 30fcc8478d85 |
comparison
equal
deleted
inserted
replaced
1547:e114a16fc5be | 1548:a83aa8c53552 |
---|---|
423 b = &u->buffer; | 423 b = &u->buffer; |
424 | 424 |
425 if (u->length == ctx->rest) { | 425 if (u->length == ctx->rest) { |
426 | 426 |
427 if (ngx_strncmp(b->last, | 427 if (ngx_strncmp(b->last, |
428 ngx_http_memcached_end + NGX_HTTP_MEMCACHED_END | 428 ngx_http_memcached_end + NGX_HTTP_MEMCACHED_END - ctx->rest, |
429 - ctx->rest, | 429 bytes) |
430 bytes) != 0) | 430 != 0) |
431 { | 431 { |
432 ngx_log_error(NGX_LOG_ERR, ctx->request->connection->log, 0, | 432 ngx_log_error(NGX_LOG_ERR, ctx->request->connection->log, 0, |
433 "memcached sent invalid trailer"); | 433 "memcached sent invalid trailer"); |
434 } | 434 } |
435 | 435 |