diff options
author | Michael Adam <obnox@samba.org> | 2009-11-10 01:15:46 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-11-10 01:17:27 +0100 |
commit | fd879e45c81628724db66d9d90998b33b5e142e9 (patch) | |
tree | 70d6aef88fd9e2c032061942ec92d33d4223fd11 | |
parent | f63c29c886228eaae82a342e0934b1a5c86e5883 (diff) | |
download | tinyproxy-fd879e45c81628724db66d9d90998b33b5e142e9.tar.gz tinyproxy-fd879e45c81628724db66d9d90998b33b5e142e9.zip |
conf: fix reverspath parsing: the string in the 2nd arg is actually the inner match
this fixes bug #64, https://www.banu.com/bugzilla/show_bug.cgi?id=64
the quotes of the string were part of the revers path after parseing.
Michael
-rw-r--r-- | src/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -739,8 +739,8 @@ static HANDLE_FUNC (handle_reversepath) if (!arg1) return -1; - if (match[3].rm_so != -1) { - arg2 = get_string_arg (line, &match[3]); + if (match[4].rm_so != -1) { + arg2 = get_string_arg (line, &match[4]); if (!arg2) { safefree (arg1); return -1; |