Skip to content

Commit

Permalink
monitor: Fix failure path for "S" argument
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
whitebrandy authored and Markus Armbruster committed Jun 22, 2015
1 parent dd41eea commit e549d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor.c
Expand Up @@ -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;
Expand Down

0 comments on commit e549d2a

Please sign in to comment.