mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-10 13:04:23 +01:00
* iobuf.c (iobuf_flush): Only print debug info if debugging is on.
This commit is contained in:
parent
a1b94b92c8
commit
ad79ac8a80
@ -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-09 Werner Koch <wk@gnupg.org>
|
2002-11-09 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* ttyio.c (TERMDEVICE): Removed.
|
* ttyio.c (TERMDEVICE): Removed.
|
||||||
|
@ -1587,7 +1587,8 @@ iobuf_flush(IOBUF a)
|
|||||||
char *newbuf;
|
char *newbuf;
|
||||||
size_t newsize = a->d.size + 8192;
|
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 );
|
(ulong)a->d.size, (ulong)newsize );
|
||||||
newbuf = m_alloc( newsize );
|
newbuf = m_alloc( newsize );
|
||||||
memcpy( newbuf, a->d.buf, a->d.len );
|
memcpy( newbuf, a->d.buf, a->d.len );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user