r4823 - trunk/varnish-cache/bin/varnishd

phk at varnish-cache.org phk at varnish-cache.org
Wed May 19 10:17:59 CEST 2010


Author: phk
Date: 2010-05-19 10:17:57 +0200 (Wed, 19 May 2010)
New Revision: 4823

Modified:
   trunk/varnish-cache/bin/varnishd/cache_vrt_re.c
Log:
Fix a minor confusion.



Modified: trunk/varnish-cache/bin/varnishd/cache_vrt_re.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt_re.c	2010-05-19 08:17:21 UTC (rev 4822)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt_re.c	2010-05-19 08:17:57 UTC (rev 4823)
@@ -100,7 +100,7 @@
 	if (str == NULL)
 		return ("");
 	t = re;
-	memset(&ovector, 0, sizeof(ovector));
+	memset(ovector, 0, sizeof(ovector));
 	i = VRE_exec(t, str, strlen(str), 0, 0, ovector, 30);
 
 	/* If it didn't match, we can return the original string */




More information about the varnish-commit mailing list