summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-07-16 23:19:57 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-07-16 23:19:57 +0000
commit7187fcea9fc823421423a3689727a147cab34340 (patch)
tree14a7b2ebb5cf133a41b98e61a42a5c0735db5c6f /lib
parent63190dd5af286345328243cc5bc04a1dc3e2978c (diff)
Notes
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 b6e0dda6a370..c9b2802b2e66 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(): "