[master] 5949ab3fa NULL terminate list of commands.

Poul-Henning Kamp phk at FreeBSD.org
Wed Dec 19 11:24:10 UTC 2018


commit 5949ab3fa366d1ea45731f25dbb5d85f34e1d529
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Dec 19 11:23:11 2018 +0000

    NULL terminate list of commands.
    
    Submitted by:   Frederic Lecaille <flecaille at haproxy.com>

diff --git a/bin/varnishtest/vtc_haproxy.c b/bin/varnishtest/vtc_haproxy.c
index 846b5c8a8..ff9376018 100644
--- a/bin/varnishtest/vtc_haproxy.c
+++ b/bin/varnishtest/vtc_haproxy.c
@@ -275,6 +275,7 @@ static const struct cmds haproxy_cli_cmds[] = {
 	CMD_HAPROXY_CLI(send)
 	CMD_HAPROXY_CLI(expect)
 #undef CMD_HAPROXY_CLI
+	{ NULL, NULL }
 };
 
 /**********************************************************************
diff --git a/bin/varnishtest/vtc_syslog.c b/bin/varnishtest/vtc_syslog.c
index e415d8c92..419553930 100644
--- a/bin/varnishtest/vtc_syslog.c
+++ b/bin/varnishtest/vtc_syslog.c
@@ -429,6 +429,7 @@ static const struct cmds syslog_cmds[] = {
 	CMD_SYSLOG(expect)
 	CMD_SYSLOG(recv)
 #undef CMD_SYSLOG
+	{ NULL, NULL }
 };
 
 /**********************************************************************


More information about the varnish-commit mailing list