From fd879e45c81628724db66d9d90998b33b5e142e9 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 10 Nov 2009 01:15:46 +0100 Subject: 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 --- src/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conf.c b/src/conf.c index 79db458..0cd9378 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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; -- cgit v1.2.3