diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-05-10 07:46:53 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-05-10 07:46:53 +0200 |
commit | 5275d49d8fee2dac09f31c955873ad5aa6734e8d (patch) | |
tree | c2faee890317d8650ddb40635d4721e1a0c33b89 /sys/src/cmd/webfs/http.c | |
parent | 0da58889017158bb6c22119d7f110574cfc94f01 (diff) |
webfs: fix proxy authentication
Diffstat (limited to 'sys/src/cmd/webfs/http.c')
-rw-r--r-- | sys/src/cmd/webfs/http.c | 2 |
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 */ |