summaryrefslogtreecommitdiff
path: root/sys/src/cmd
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-08-15 09:07:34 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-08-15 09:07:34 +0200
commitf3b27fd889ff31531ecd69bbfd1013c9ba57814e (patch)
treeea36d26b92fa7e924c8dcf87ed366a2fb8651064 /sys/src/cmd
parent52d407f86f35b4a9f2be36c6d61032e2ecb9f754 (diff)
webfs: dont include http status in "needkey" error string
Diffstat (limited to 'sys/src/cmd')
-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 01def74b5..5645bc94d 100644
--- a/sys/src/cmd/webfs/http.c
+++ b/sys/src/cmd/webfs/http.c
@@ -873,7 +873,7 @@ http(char *m, Url *u, Key *shdr, Buq *qbody, Buq *qpost)
if(hauthenticate(u, &ru, method, "WWW-Authenticate", rhdr) < 0){
Autherror:
h->cancel = 1;
- snprint(buf, sizeof(buf), "%s %r", status);
+ rerrstr(buf, sizeof(buf));
buclose(qbody, buf);
buclose(qpost, buf);
break;