webfs: dont include http status in "needkey" error string
This commit is contained in:
parent
52d407f86f
commit
f3b27fd889
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue