From: Godbach Date: Wed, 11 Dec 2013 11:48:57 +0000 (+0800) Subject: CLEANUP: code style: use tabs to indent codes X-Git-Tag: v1.5-dev20~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50523167ef7f68062580b6db8b715bebd3dfc492;p=thirdparty%2Fhaproxy.git CLEANUP: code style: use tabs to indent codes The original codes are indented by spaces and not aligned with the former line. It should be a convention to indent by tabs in HAProxy. Signed-off-by: Godbach --- diff --git a/src/cfgparse.c b/src/cfgparse.c index 73a08a42a1..b05bfe93a3 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -2932,12 +2932,12 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm) } else if (strcmp(args[myidx], "peers") == 0) { myidx++; - if (!*(args[myidx])) { - Alert("parsing [%s:%d] : stick-table: missing argument after '%s'.\n", - file, linenum, args[myidx-1]); - err_code |= ERR_ALERT | ERR_FATAL; - goto out; - } + if (!*(args[myidx])) { + Alert("parsing [%s:%d] : stick-table: missing argument after '%s'.\n", + file, linenum, args[myidx-1]); + err_code |= ERR_ALERT | ERR_FATAL; + goto out; + } curproxy->table.peers.name = strdup(args[myidx++]); } else if (strcmp(args[myidx], "expire") == 0) {