]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't assume buffered output echoes the command.
authorMiloslav Trmač <mitr@redhat.com>
Tue, 21 Jul 2009 09:33:24 +0000 (11:33 +0200)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 1 Sep 2009 17:36:59 +0000 (18:36 +0100)
commit077cd9177398989e6671f8e94adb9d612e1752fb
tree918d3f1283baa0a085b70c4298834e75fae8fd14
parentf340964dc9b81ea0ff0f4f315afe070b47fb1d87
Don't assume buffered output echoes the command.

The if ((nlptr...)) implicitly assumes commptr != NULL (and that "buf"
starts with "cmd").  Make the assumption explicit, it will be broken in
a future patch.

* src/qemu_driver.c: Don't assume buffered monitor output echoes the
  command.
src/qemu_driver.c