Revision 0abc6579
b/monitor.c | ||
---|---|---|
286 | 286 |
qobject_incref(data); |
287 | 287 |
qdict_put_obj(qmp, "return", data); |
288 | 288 |
} else { |
289 |
qdict_put(qmp, "return", qstring_from_str("OK")); |
|
289 |
/* return an empty QDict by default */ |
|
290 |
qdict_put(qmp, "return", qdict_new()); |
|
290 | 291 |
} |
291 | 292 |
} else { |
292 | 293 |
/* error response */ |
Also available in: Unified diff