ref: 57a581b6e55614cfd997b00cf070164bd5544bb9
parent: 827c665d1912b43b37df439fb37848949d135f3d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Aug 15 05:07:34 EDT 2016
webfs: dont include http status in "needkey" error string
--- a/sys/src/cmd/webfs/http.c
+++ b/sys/src/cmd/webfs/http.c
@@ -873,7 +873,7 @@
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;
--
⑨