#ifdef DEBUG -> #ifndef NDEBUG
Pointed out by: ache
This commit is contained in:
parent
ddb48608ab
commit
e66b380285
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63281
@ -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(): "
|
||||
|
Loading…
Reference in New Issue
Block a user