]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Fix misplaced parenthesis in qemumonitorjsontest
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 3 Dec 2014 13:42:27 +0000 (14:42 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 4 Dec 2014 10:43:22 +0000 (11:43 +0100)
commit44015a29372db0e689398aaaf4bf9b26a3a5658e
treefcb4e0986cbd2731a82dc4c67b031f3c70491bba
parentab6bd57b07a088a42bcbd1d56859bab5d11f61ba
tests: Fix misplaced parenthesis in qemumonitorjsontest

When trying clang, it found out that we were comparing sizeof with 0
even though we wanted to check the return value of memcmp.  That showed
us that the test was wrong and it needs a fix as well.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
tests/qemumonitorjsontest.c