]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/libqtest.c
qobject: Propagate parse errors through qobject_from_jsonv()
[mirror_qemu.git] / tests / libqtest.c
index ca6b641963d4aa31d5fcc4c7bb27675f0f413689..9033c5f82cc8b869f3432c8e6ea41b630ce8a2ce 100644 (file)
@@ -442,7 +442,7 @@ void qmp_fd_sendv(int fd, const char *fmt, va_list ap)
      * is an array type.
      */
     va_copy(ap_copy, ap);
-    qobj = qobject_from_jsonv(fmt, &ap_copy);
+    qobj = qobject_from_jsonv(fmt, &ap_copy, NULL);
     va_end(ap_copy);
 
     /* No need to send anything for an empty QObject.  */