提交 e549d2aa 编写于 作者: B Bandan Das 提交者: Markus Armbruster

monitor: Fix failure path for "S" argument

Since the "S" argument type is only used with the "?" flag,
the bug can't bite.
Signed-off-by: NBandan Das <bsd@redhat.com>
Acked-by: NLuiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
上级 dd41eea7
......@@ -4016,7 +4016,7 @@ static QDict *monitor_parse_arguments(Monitor *mon,
if (len <= 0) {
monitor_printf(mon, "%s: string expected\n",
cmd->name);
break;
goto fail;
}
qdict_put(qdict, key, qstring_from_str(p));
p += len;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册