Commit 5949ab3f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

NULL terminate list of commands.

Submitted by:   Frederic Lecaille <flecaille@haproxy.com>
parent af94ef7d
...@@ -275,6 +275,7 @@ static const struct cmds haproxy_cli_cmds[] = { ...@@ -275,6 +275,7 @@ static const struct cmds haproxy_cli_cmds[] = {
CMD_HAPROXY_CLI(send) CMD_HAPROXY_CLI(send)
CMD_HAPROXY_CLI(expect) CMD_HAPROXY_CLI(expect)
#undef CMD_HAPROXY_CLI #undef CMD_HAPROXY_CLI
{ NULL, NULL }
}; };
/********************************************************************** /**********************************************************************
......
...@@ -429,6 +429,7 @@ static const struct cmds syslog_cmds[] = { ...@@ -429,6 +429,7 @@ static const struct cmds syslog_cmds[] = {
CMD_SYSLOG(expect) CMD_SYSLOG(expect)
CMD_SYSLOG(recv) CMD_SYSLOG(recv)
#undef CMD_SYSLOG #undef CMD_SYSLOG
{ NULL, NULL }
}; };
/********************************************************************** /**********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment