qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [7199] Allow empty params for check_params (Jan Kiszka)
@ 2009-04-21 19:56 Anthony Liguori
  0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2009-04-21 19:56 UTC (permalink / raw)
  To: qemu-devel

Revision: 7199
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7199
Author:   aliguori
Date:     2009-04-21 19:56:23 +0000 (Tue, 21 Apr 2009)
Log Message:
-----------
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>

Modified Paths:
--------------
    trunk/vl.c

Modified: trunk/vl.c
===================================================================
--- trunk/vl.c	2009-04-21 19:56:20 UTC (rev 7198)
+++ trunk/vl.c	2009-04-21 19:56:23 UTC (rev 7199)
@@ -1934,7 +1934,7 @@
     int i;
 
     p = str;
-    for(;;) {
+    while (*p != '\0') {
         p = get_opt_name(buf, buf_size, p);
         if (*p != '=')
             return -1;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-21 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-21 19:56 [Qemu-devel] [7199] Allow empty params for check_params (Jan Kiszka) Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).