r1036 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sat Sep 16 23:14:13 CEST 2006


Author: phk
Date: 2006-09-16 23:14:13 +0200 (Sat, 16 Sep 2006)
New Revision: 1036

Modified:
   trunk/varnish-cache/bin/varnishd/varnishd.c
Log:
make flexelint marginally happier


Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c	2006-09-16 21:05:45 UTC (rev 1035)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c	2006-09-16 21:14:13 UTC (rev 1036)
@@ -381,6 +381,7 @@
 			p = strchr(optarg, '=');
 			if (p == NULL)
 				usage();
+			AN(p);
 			*p++ = '\0';
 			MCF_ParamSet(cli, optarg, p);
 			cli_check(cli);




More information about the varnish-commit mailing list