]> err.no Git - varnish/commitdiff
Assert non-NULL pointer return.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 30 Jan 2008 10:03:51 +0000 (10:03 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 30 Jan 2008 10:03:51 +0000 (10:03 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2405 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvarnish/cli.c

index 10a715b69a3417c056171b3f65978f8f7efa48b1..89dbe9ee0e80266dfa32807e023c1bbae3a12a0a 100644 (file)
@@ -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]);