summaryrefslogtreecommitdiff
path: root/sys/src/cmd/webfs
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-05-10 07:46:53 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-05-10 07:46:53 +0200
commit5275d49d8fee2dac09f31c955873ad5aa6734e8d (patch)
treec2faee890317d8650ddb40635d4721e1a0c33b89 /sys/src/cmd/webfs
parent0da58889017158bb6c22119d7f110574cfc94f01 (diff)
webfs: fix proxy authentication
Diffstat (limited to 'sys/src/cmd/webfs')
-rw-r--r--sys/src/cmd/webfs/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/webfs/http.c b/sys/src/cmd/webfs/http.c
index 96a884c0c..d4d7dc36e 100644
--- a/sys/src/cmd/webfs/http.c
+++ b/sys/src/cmd/webfs/http.c
@@ -857,7 +857,7 @@ http(char *m, Url *u, Key *shdr, Buq *qbody, Buq *qpost)
goto Error;
if(x = lookkey(shdr, "Proxy-Authorization"))
flushauth(proxy, x);
- if(hauthenticate(u, &ru, method, "Proxy-Authenticate", rhdr) < 0)
+ if(hauthenticate(proxy, proxy, method, "Proxy-Authenticate", rhdr) < 0)
goto Error;
}
case 0: /* No status */