]> xenbits.xensource.com Git - libvirt.git/commitdiff
openvz: split single-line if
authorJán Tomko <jtomko@redhat.com>
Fri, 24 Jun 2016 08:36:12 +0000 (10:36 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 24 Jun 2016 08:36:12 +0000 (10:36 +0200)
Put the 'continue' statement on a separate line.

src/openvz/openvz_conf.c

index ff5e5b891b17b5b4973b2b61e6b6f38df917e4f1..aa04bc4e0766d7b3bce33b58d59d08b15f36495f 100644 (file)
@@ -741,7 +741,8 @@ openvzReadConfigParam(const char *conf_file, const char *param, char **value)
             continue;
 
         sf = line + strlen(param);
-        if (*sf++ != '=') continue;
+        if (*sf++ != '=')
+            continue;
 
         saveptr = NULL;
         if ((token = strtok_r(sf, "\"\t\n", &saveptr)) != NULL) {