[libvirt] [PATCH] openvz: split single-line if

Ján Tomko jtomko at redhat.com
Fri Jun 24 08:39:55 UTC 2016


Put the 'continue' statement on a separate line.
---
 src/openvz/openvz_conf.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Pushed as trivial.

diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c
index ff5e5b8..aa04bc4 100644
--- a/src/openvz/openvz_conf.c
+++ b/src/openvz/openvz_conf.c
@@ -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) {
-- 
2.7.3




More information about the libvir-list mailing list