diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-21 19:56:23 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-21 19:56:23 +0000 |
commit | 1030021681e385ec0299a5f0f685b263db81bbb5 (patch) | |
tree | 98257dc6ecd587fc0c5913681d834c3c7c19c23e | |
parent | b63c7f6b77145c109d66a62bb3b6efe12b80d62b (diff) |
Allow empty params for check_params (Jan Kiszka)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7199 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |