]> err.no Git - varnish/commitdiff
Use generic param setting stuff
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 16 Sep 2006 09:49:51 +0000 (09:49 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 16 Sep 2006 09:49:51 +0000 (09:49 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1003 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/varnishd.c

index 707da128f71d607b061abb7d9f615cf8edf74772..eb4f0610532071322e31f6aadd3edd47ba85f8b5 100644 (file)
@@ -391,7 +391,7 @@ main(int argc, char *argv[])
                        s_arg = optarg;
                        break;
                case 't':
-                       params->default_ttl = strtoul(optarg, NULL, 0);
+                       MCF_ParamSet(cli, "default_ttl", optarg);
                        break;
                case 'T':
                        T_arg = optarg;