summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-07-16 23:18:44 +0000
committerdes <des@FreeBSD.org>2000-07-16 23:18:44 +0000
commit5996cf5b9eed4a31cafa5c091e8a90a29ba7e953 (patch)
treed0abae95253cedff3807aae1c252c5c3241c9cc5 /lib
parenta29e7f6acfd9683396422fda28bc72a5eecb7586 (diff)
downloadFreeBSD-src-5996cf5b9eed4a31cafa5c091e8a90a29ba7e953.zip
FreeBSD-src-5996cf5b9eed4a31cafa5c091e8a90a29ba7e953.tar.gz
#ifdef DEBUG -> #ifndef NDEBUG
Pointed out by: ache
Diffstat (limited to 'lib')
-rw-r--r--lib/libfetch/http.c4
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(): "
OpenPOWER on IntegriCloud