[6.0] 23ce52411 NULL terminate list of commands.

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Jun 27 17:05:09 UTC 2019


commit 23ce52411f56a032288158aeb322cd1496f5ff92
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 bd37aadb7..0ff037f6d 100644
--- a/bin/varnishtest/vtc_haproxy.c
+++ b/bin/varnishtest/vtc_haproxy.c
@@ -278,6 +278,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 666b82d3c..fe61fa079 100644
--- a/bin/varnishtest/vtc_syslog.c
+++ b/bin/varnishtest/vtc_syslog.c
@@ -430,6 +430,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