r2992 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Jul 22 16:40:13 CEST 2008


Author: phk
Date: 2008-07-22 16:40:13 +0200 (Tue, 22 Jul 2008)
New Revision: 2992

Modified:
   trunk/varnish-cache/bin/varnishd/storage_file.c
Log:
constage.



Modified: trunk/varnish-cache/bin/varnishd/storage_file.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_file.c	2008-07-22 11:12:51 UTC (rev 2991)
+++ trunk/varnish-cache/bin/varnishd/storage_file.c	2008-07-22 14:40:13 UTC (rev 2992)
@@ -239,7 +239,7 @@
 static void
 smf_init(struct stevedore *parent, int ac, char * const *av)
 {
-	const char *size, *fn;
+	const char *size, *fn, *r;
 	char *q, *p;
 	struct stat st;
 	struct smf_sc *sc;
@@ -260,9 +260,9 @@
 		size = av[1];
 	if (ac > 2 && *av[2] != '\0') {
 
-		q = str2bytes(av[2], &page_size, 0);
-		if (q != NULL)
-			ARGV_ERR("(-sfile) granularity \"%s\": %s\n", av[2], q);
+		r = str2bytes(av[2], &page_size, 0);
+		if (r != NULL)
+			ARGV_ERR("(-sfile) granularity \"%s\": %s\n", av[2], r);
 	}
 
 	AN(fn);




More information about the varnish-commit mailing list