]> err.no Git - varnish/commitdiff
constage.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 22 Jul 2008 14:40:13 +0000 (14:40 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 22 Jul 2008 14:40:13 +0000 (14:40 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2992 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/storage_file.c

index acadb8ccca94df8cbeb1187ca8db2a5ba03687d1..a675f617eebe044eb86ac271fc05a6972b28b8c4 100644 (file)
@@ -239,7 +239,7 @@ static char default_filename[] = ".";
 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 @@ smf_init(struct stevedore *parent, int ac, char * const *av)
                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);