mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
CLEANUP: log-forward: remove useless options2 init
It is actually not required to zero out proxy->options2 since proxy is allocated using calloc() which already does it.
This commit is contained in:
parent
c6e6318125
commit
8b8520305e
@ -6029,7 +6029,6 @@ int cfg_parse_log_forward(const char *file, int linenum, char **args, int kwm)
|
||||
px->accept = frontend_accept;
|
||||
px->default_target = &syslog_applet.obj_type;
|
||||
px->id = strdup(args[1]);
|
||||
px->options2 = 0;
|
||||
}
|
||||
else if (strcmp(args[0], "maxconn") == 0) { /* maxconn */
|
||||
if (warnifnotcap(cfg_log_forward, PR_CAP_FE, file, linenum, args[0], " Maybe you want 'fullconn' instead ?"))
|
||||
|
Loading…
Reference in New Issue
Block a user