r1828 - in branches/1.1: lib/libvcl man

des at projects.linpro.no des at projects.linpro.no
Fri Aug 10 11:37:13 CEST 2007


Author: des
Date: 2007-08-10 11:37:12 +0200 (Fri, 10 Aug 2007)
New Revision: 1828

Modified:
   branches/1.1/lib/libvcl/vcc_action.c
   branches/1.1/man/vcl.7
Log:
purge() -> purge_url() to match trunk.


Modified: branches/1.1/lib/libvcl/vcc_action.c
===================================================================
--- branches/1.1/lib/libvcl/vcc_action.c	2007-08-10 09:36:42 UTC (rev 1827)
+++ branches/1.1/lib/libvcl/vcc_action.c	2007-08-10 09:37:12 UTC (rev 1828)
@@ -270,7 +270,7 @@
 /*--------------------------------------------------------------------*/
 
 static void
-parse_purge(struct tokenlist *tl)
+parse_purge_url(struct tokenlist *tl)
 {
 
 	vcc_NextToken(tl);
@@ -307,7 +307,8 @@
 	{ "call", 	parse_call },
 	{ "set", 	parse_set },
 	{ "remove", 	parse_remove },
-	{ "purge",	parse_purge },
+	{ "purge_url",	parse_purge_url },
+
 	{ NULL,		NULL }
 };
 

Modified: branches/1.1/man/vcl.7
===================================================================
--- branches/1.1/man/vcl.7	2007-08-10 09:36:42 UTC (rev 1827)
+++ branches/1.1/man/vcl.7	2007-08-10 09:37:12 UTC (rev 1828)
@@ -136,8 +136,8 @@
 is replaced with the contents of subgroup
 .Ar n
 in the matched string.
-.It Fn purge "regex"
-Purge all objects in cache matching 
+.It Fn purge_url "regex"
+Purge all objects in cache whose URLs match
 .Fa regex .
 .El
 .Ss Subroutines




More information about the varnish-commit mailing list