1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* iobuf.c (iobuf_flush): Only print debug info if debugging is on.

This commit is contained in:
David Shaw 2002-12-26 20:58:23 +00:00
parent 005ac4d068
commit 7282f79c2e
2 changed files with 6 additions and 1 deletions

View file

@ -1587,7 +1587,8 @@ iobuf_flush(IOBUF a)
char *newbuf;
size_t newsize = a->d.size + 8192;
log_debug("increasing temp iobuf from %lu to %lu\n",
if( DBG_IOBUF )
log_debug("increasing temp iobuf from %lu to %lu\n",
(ulong)a->d.size, (ulong)newsize );
newbuf = m_alloc( newsize );
memcpy( newbuf, a->d.buf, a->d.len );