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: Bandan Das <bsd@redhat.com>
Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
Bandan Das authored and Markus Armbruster committed 2015-06-22 17:40:00 +02:00
1 parent dd41eea771
commit e549d2aaeb
1 file changed
+1 -1
+1 -1
View File
@@ -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;