From 5996cf5b9eed4a31cafa5c091e8a90a29ba7e953 Mon Sep 17 00:00:00 2001 From: des Date: Sun, 16 Jul 2000 23:18:44 +0000 Subject: #ifdef DEBUG -> #ifndef NDEBUG Pointed out by: ache --- lib/libfetch/http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libfetch/http.c') 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(): " -- cgit v1.1