Loading tests/libqtest.c +2 −1 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ #include <sys/wait.h> #include <sys/un.h> #include "qapi/error.h" #include "qapi/qmp/json-parser.h" #include "qapi/qmp/json-streamer.h" #include "qapi/qmp/qjson.h" Loading Loading @@ -442,7 +443,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, NULL); qobj = qobject_from_jsonv(fmt, &ap_copy, &error_abort); va_end(ap_copy); /* No need to send anything for an empty QObject. */ Loading Loading
tests/libqtest.c +2 −1 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ #include <sys/wait.h> #include <sys/un.h> #include "qapi/error.h" #include "qapi/qmp/json-parser.h" #include "qapi/qmp/json-streamer.h" #include "qapi/qmp/qjson.h" Loading Loading @@ -442,7 +443,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, NULL); qobj = qobject_from_jsonv(fmt, &ap_copy, &error_abort); va_end(ap_copy); /* No need to send anything for an empty QObject. */ Loading