Changeset 5801:ab48149b77a6 in nginx


Ignore:
Timestamp:
08/06/14 14:58:44 (6 years ago)
Author:
Tatsuhiko Kubo <cubicdaiya@…>
Branch:
default
Phase:
public
Message:

Style: use specified macro instead of magic-number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/http/modules/ngx_http_memcached_module.c

    r5765 r5801  
    392392
    393393        u->headers_in.content_length_n = ngx_atoof(start, p - start);
    394         if (u->headers_in.content_length_n == -1) {
     394        if (u->headers_in.content_length_n == NGX_ERROR) {
    395395            ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
    396396                          "memcached sent invalid length in response \"%V\" "
Note: See TracChangeset for help on using the changeset viewer.