From f724f317b3d99ba4ed83699305e14623c79abaa5 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 30 Jan 2008 10:03:51 +0000 Subject: [PATCH] Assert non-NULL pointer return. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2405 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/lib/libvarnish/cli.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/lib/libvarnish/cli.c b/varnish-cache/lib/libvarnish/cli.c index 10a715b6..89dbe9ee 100644 --- a/varnish-cache/lib/libvarnish/cli.c +++ b/varnish-cache/lib/libvarnish/cli.c @@ -75,6 +75,7 @@ cli_dispatch(struct cli *cli, struct cli_proto *clp, const char *line) cli_result(cli, CLIS_OK); /* XXX: syslog commands */ av = ParseArgv(line, 0); + AN(av); do { if (av[0] != NULL) { cli_out(cli, "Syntax Error: %s\n", av[0]); -- 2.39.5