]> git.proxmox.com Git - qemu.git/commit
qjson: Improve debugging
authorLuiz Capitulino <lcapitulino@redhat.com>
Mon, 8 Feb 2010 19:01:27 +0000 (17:01 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Feb 2010 19:46:17 +0000 (13:46 -0600)
commit668e3cac4fdba1137798c4453e018070b099679e
tree27fb327c53a5b4c458806fbd329118ceb4120739
parent06b1297017415ae6a07a0e97ad7d8e90b2d95823
qjson: Improve debugging

Add an assert() to qobject_from_jsonf() to assure that the returned
QObject is not NULL. Currently this is duplicated in the callers.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qjson.c