git.samba.org
/
obnox
/
tinyproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52cad36
)
[BB#91] Fix upstream proxy support.
author
Michael Adam
<obnox@samba.org>
Tue, 24 Aug 2010 20:47:35 +0000
(22:47 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 24 Aug 2010 20:47:35 +0000
(22:47 +0200)
Patch by Jordi Mallach.
src/conf.c
patch
|
blob
|
history
diff --git
a/src/conf.c
b/src/conf.c
index 269941ed852a2008eb83e188d01aa558d3b5e418..b16b8e9eade8cd62f13ef9626070c672a298171f 100644
(file)
--- 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);