]> xenbits.xensource.com Git - libvirt.git/commit
vsh: use virBufferTrim in vshOutputLogFile
authorJán Tomko <jtomko@redhat.com>
Fri, 12 Feb 2016 12:49:18 +0000 (13:49 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 18 Feb 2016 15:18:22 +0000 (16:18 +0100)
commitb4c6fa4418ee89ad52116420461fde5b58919452
tree7bbae0535954f32005f05360e571020dd5a54eae
parentc7f0069e8bbdb2a12a659549e97a40d3be19457b
vsh: use virBufferTrim in vshOutputLogFile

Use virBufferTrim to strip the extra newline at the end
of the message instead of open-coding it after the buffer's
string is formatted.
tools/vsh.c