]> xenbits.xensource.com Git - libvirt.git/commit
virsh: qemu-monitor-command: Simplify control flow
authorPeter Krempa <pkrempa@redhat.com>
Mon, 1 Aug 2016 04:24:35 +0000 (06:24 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Aug 2016 11:59:27 +0000 (13:59 +0200)
commit8941c800ec683877dd5e33dfd8f7f1c81798e2f6
tree652c06d1168970fa0a783f6fbff99a8730f3e67f
parent36428fa80ba393abe2619f4dbbbbdebd052be420
virsh: qemu-monitor-command: Simplify control flow

Construct the query string by using virBufferTrim rather than having to
remember to add a space and simplify cleanup path.
tools/virsh-domain.c