Commit b97959c3 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a minor confusion.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4823 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 3933c9b4
......@@ -100,7 +100,7 @@ VRT_regsub(const struct sess *sp, int all, const char *str, void *re,
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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment