From b672ca03fee5813b18354fb5ed221f345f1310e3 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 24 Aug 2010 22:47:35 +0200 Subject: [BB#91] Fix upstream proxy support. Patch by Jordi Mallach. --- src/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conf.c b/src/conf.c index 269941e..b16b8e9 100644 --- a/src/conf.c +++ b/src/conf.c @@ -1046,8 +1046,8 @@ static HANDLE_FUNC (handle_upstream) return -1; port = (int) get_long_arg (line, &match[7]); - if (match[9].rm_so != -1) { - domain = get_string_arg (line, &match[9]); + if (match[10].rm_so != -1) { + domain = get_string_arg (line, &match[10]); if (domain) { upstream_add (ip, port, domain, &conf->upstream_list); safefree (domain); -- cgit v1.2.3