]> git.ipfire.org Git - thirdparty/libvirt.git/commit
logging: always NUL-terminate circular buffer
authorEric Blake <eblake@redhat.com>
Wed, 23 Mar 2011 19:23:59 +0000 (13:23 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 28 Mar 2011 16:14:06 +0000 (10:14 -0600)
commit60dea30b7d43aa4cc0de2a552c718a0d22cec3f0
tree260027057ae26fb51685ed2c1f8c862c4f641d80
parent009bd51b94da7a27f985942cb6ebdf7881484985
logging: always NUL-terminate circular buffer

* src/util/logging.c (virLogStartup, virLogSetBufferSize):
Over-allocate, so that a debugger can just print the circular
buffer.  Suggested by Daniel Veillard.
src/util/logging.c