diff options
author | des <des@FreeBSD.org> | 2004-02-11 09:35:27 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-02-11 09:35:27 +0000 |
commit | df874487598fce07306b67b1bdba600ca3cc9f94 (patch) | |
tree | 0223f1423526289449cec5ef8bbd284951afae58 /lib/libfetch/http.c | |
parent | 33bdcbd9cfcca378bec7970a1475f108ee4d03e7 (diff) | |
download | FreeBSD-src-df874487598fce07306b67b1bdba600ca3cc9f94.zip FreeBSD-src-df874487598fce07306b67b1bdba600ca3cc9f94.tar.gz |
Slight tweak to previous commit: don't forget to call _http_seterr() if
we get a genuine 416 reply.
Diffstat (limited to 'lib/libfetch/http.c')
-rw-r--r-- | lib/libfetch/http.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c index 77419c9..8d2f971 100644 --- a/lib/libfetch/http.c +++ b/lib/libfetch/http.c @@ -1038,6 +1038,7 @@ _http_request(struct url *URL, const char *op, struct url_stat *us, conn->err = HTTP_OK; break; } else { + _http_seterr(conn->err); goto ouch; } } |