]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_monitor_json: Follow refactor
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 4 May 2016 08:28:43 +0000 (10:28 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 9 May 2016 07:55:18 +0000 (09:55 +0200)
commite85d3e1bbe0b0762920f999b8bbfc127bf86d701
tree1de87d4cf3eb5bcfc0bbd68bb25e2245bc18de77
parent161713436e00a8532be3d936eec095120b8c6a1a
qemu_monitor_json: Follow refactor

In 7884d089d2f I've started to refactor qemu_monitor_json.c.
Thing is, it's current structure is nothing like the rest of our
code. The @ret variable is rewritten all the time, if()-s are
nested instead of using goto and so on.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_monitor_json.c