Revision 0fb88582 monitor.c

b/monitor.c
4375 4375
                      qobject_from_jsonf("{ 'item': %s }", info_item));
4376 4376
    } else {
4377 4377
        cmd = monitor_find_command(cmd_name);
4378
        if (!cmd || !monitor_handler_ported(cmd)
4379
            || monitor_cmd_user_only(cmd)) {
4380
            qerror_report(QERR_COMMAND_NOT_FOUND, cmd_name);
4381
            goto err_out;
4382
        }
4378
    }
4379

  
4380
    if (!cmd || !monitor_handler_ported(cmd) || monitor_cmd_user_only(cmd)) {
4381
        qerror_report(QERR_COMMAND_NOT_FOUND, cmd_name);
4382
        goto err_out;
4383 4383
    }
4384 4384

  
4385 4385
    obj = qdict_get(input, "arguments");

Also available in: Unified diff