Style: use specified macro instead of magic-number.
This commit is contained in:
parent
49683ce94e
commit
973a42a70b
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ found:
|
|||
p = line.data + line.len;
|
||||
|
||||
u->headers_in.content_length_n = ngx_atoof(start, p - start);
|
||||
if (u->headers_in.content_length_n == -1) {
|
||||
if (u->headers_in.content_length_n == NGX_ERROR) {
|
||||
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
|
||||
"memcached sent invalid length in response \"%V\" "
|
||||
"for key \"%V\"",
|
||||
|
|
Loading…
Reference in a new issue