r1003 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sat Sep 16 11:49:51 CEST 2006


Author: phk
Date: 2006-09-16 11:49:51 +0200 (Sat, 16 Sep 2006)
New Revision: 1003

Modified:
   trunk/varnish-cache/bin/varnishd/varnishd.c
Log:
Use generic param setting stuff


Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c	2006-09-16 09:38:09 UTC (rev 1002)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c	2006-09-16 09:49:51 UTC (rev 1003)
@@ -391,7 +391,7 @@
 			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;




More information about the varnish-commit mailing list