diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-07-16 23:18:44 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-07-16 23:18:44 +0000 |
commit | e66b3802850a927546ffff676b07f028f4aef205 (patch) | |
tree | 0812b4c721ff8d958fdcf8fbdc7594a56e242b64 /lib | |
parent | ddb48608abd4990a772f7af938b9a0b431eba8a9 (diff) | |
download | src-e66b3802850a927546ffff676b07f028f4aef205.tar.gz src-e66b3802850a927546ffff676b07f028f4aef205.zip |
#ifdef DEBUG -> #ifndef NDEBUG
Pointed out by: ache
Notes
Notes:
svn path=/head/; revision=63281
Diffstat (limited to 'lib')
-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 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(): " |