#ifdef DEBUG -> #ifndef NDEBUG

Pointed out by:	ache
This commit is contained in:
Dag-Erling Smørgrav 2000-07-16 23:18:44 +00:00
parent ddb48608ab
commit e66b380285
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63281

View File

@ -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(): "