diff options
author | Michael Adam <obnox@samba.org> | 2010-08-24 22:47:35 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-08-24 22:47:35 +0200 |
commit | b672ca03fee5813b18354fb5ed221f345f1310e3 (patch) | |
tree | 170fc5f72a1122733f47a3d3b90828e0c135c094 | |
parent | 52cad36352bd6c9162744ba20c0ead8c768991e8 (diff) | |
download | tinyproxy-b672ca03fee5813b18354fb5ed221f345f1310e3.tar.gz tinyproxy-b672ca03fee5813b18354fb5ed221f345f1310e3.zip |
[BB#91] Fix upstream proxy support.
Patch by Jordi Mallach.
-rw-r--r-- | src/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |