From: phk Date: Wed, 30 Jan 2008 10:03:51 +0000 (+0000) Subject: Assert non-NULL pointer return. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f724f317b3d99ba4ed83699305e14623c79abaa5;p=varnish Assert non-NULL pointer return. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2405 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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]);