mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-10 18:03:03 +01:00
* iobuf.c (iobuf_flush): Only print debug info if debugging is on.
This commit is contained in:
parent
005ac4d068
commit
7282f79c2e
@ -1,3 +1,7 @@
|
||||
2002-12-26 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* iobuf.c (iobuf_flush): Only print debug info if debugging is on.
|
||||
|
||||
2002-11-13 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* secmem.c (lock_pool) [__CYGWIN__]: Don't print secmem warning.
|
||||
|
@ -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…
x
Reference in New Issue
Block a user