Revision 23fabed1 monitor.c
b/monitor.c | ||
---|---|---|
377 | 377 |
} |
378 | 378 |
|
379 | 379 |
QLIST_FOREACH(mon, &mon_list, entry) { |
380 |
if (!monitor_ctrl_mode(mon)) |
|
381 |
return; |
|
382 |
|
|
383 |
monitor_json_emitter(mon, QOBJECT(qmp)); |
|
380 |
if (monitor_ctrl_mode(mon)) { |
|
381 |
monitor_json_emitter(mon, QOBJECT(qmp)); |
|
382 |
} |
|
384 | 383 |
} |
385 | 384 |
QDECREF(qmp); |
386 | 385 |
} |
Also available in: Unified diff