diff options
| -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 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; |
