diff options
Diffstat (limited to 'lib/libfetch/http.c')
-rw-r--r-- | lib/libfetch/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c index b6e0dda..c9b2802 100644 --- a/lib/libfetch/http.c +++ b/lib/libfetch/http.c @@ -114,7 +114,7 @@ struct cookie int eof; int error; long chunksize; -#ifdef DEBUG +#ifndef NDEBUG long total; #endif }; @@ -141,7 +141,7 @@ _http_new_chunk(struct cookie *c) else c->chunksize = c->chunksize * 16 + 10 + tolower(*p) - 'a'; -#ifdef DEBUG +#ifndef NDEBUG c->total += c->chunksize; if (c->chunksize == 0) fprintf(stderr, "\033[1m_http_fillbuf(): " |