diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-12-22 01:09:06 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-01-08 09:58:40 -0600 |
commit | 810f49b56a5d0cd6848856af51d3093ae9adc7b1 (patch) | |
tree | 9fe6659b6b8af2a7e619fd172e5fc70b89ce2a3e /monitor.c | |
parent | 95a2f9bc588c3f83375d87b0a9394f89a1bcfada (diff) |
QMP: Drop wrong assert()
Some commands return a QList of QDicts, which is valid,
but will trig the assert().
Just drop it.
Reported-by: Nathan Baum <nathan@parenthephobia.org.uk>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -283,7 +283,6 @@ static void monitor_protocol_emitter(Monitor *mon, QObject *data) if (!monitor_has_error(mon)) { /* success response */ if (data) { - assert(qobject_type(data) == QTYPE_QDICT); qobject_incref(data); qdict_put_obj(qmp, "return", data); } else { |