mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 04:31:49 +02:00
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 <nylzhaowei@gmail.com>
This commit is contained in:
parent
8bb4e34514
commit
50523167ef
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user