webfs: dont include http status in "needkey" error string

This commit is contained in:
cinap_lenrek 2016-08-15 09:07:34 +02:00
parent 52d407f86f
commit f3b27fd889

View file

@ -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;