Revision 9e80721e

b/monitor.c
330 330

  
331 331
static void monitor_user_noop(Monitor *mon, const QObject *data) { }
332 332

  
333
static inline int monitor_handler_ported(const mon_cmd_t *cmd)
333
static inline int handler_is_qobject(const mon_cmd_t *cmd)
334 334
{
335 335
    return cmd->user_print != NULL;
336 336
}
......
654 654

  
655 655
    if (monitor_handler_is_async(cmd)) {
656 656
        user_async_info_handler(mon, cmd);
657
    } else if (monitor_handler_ported(cmd)) {
657
    } else if (handler_is_qobject(cmd)) {
658 658
        QObject *info_data = NULL;
659 659

  
660 660
        cmd->mhandler.info_new(mon, &info_data);
......
3916 3916

  
3917 3917
    if (monitor_handler_is_async(cmd)) {
3918 3918
        user_async_cmd_handler(mon, cmd, qdict);
3919
    } else if (monitor_handler_ported(cmd)) {
3919
    } else if (handler_is_qobject(cmd)) {
3920 3920
        monitor_call_handler(mon, cmd, qdict);
3921 3921
    } else {
3922 3922
        cmd->mhandler.cmd(mon, qdict);

Also available in: Unified diff