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:
parent
005ac4d068
commit
7282f79c2e
2 changed files with 6 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue