Skip to content

Commit 6ba9beb

Browse files
committed
fixed a typo in an error message.
1 parent cb572a0 commit 6ba9beb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ngx_http_srcache_store.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ ngx_http_srcache_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
418418
{
419419
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
420420
"srcache_store: skipped because response body "
421-
"truncated: %O < %uz",
421+
"truncated: %O > %uz",
422422
r->headers_out.content_length_n,
423423
ctx->response_body_length);
424424

t/content-length.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Content-Length: 10
6565
--- response_body
6666
hello
6767
--- error_log
68-
srcache_store: skipped because response body truncated: 10 < 6
68+
srcache_store: skipped because response body truncated: 10 > 6
6969
7070
7171

0 commit comments

Comments
 (0)