提交 10300216 编写于 作者: A aliguori

Allow empty params for check_params (Jan Kiszka)

Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7199 c046a42c-6fe2-441c-8c8c-71466251a162
上级 b63c7f6b
......@@ -1934,7 +1934,7 @@ int check_params(char *buf, int buf_size,
int i;
p = str;
for(;;) {
while (*p != '\0') {
p = get_opt_name(buf, buf_size, p);
if (*p != '=')
return -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册