summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-02-11 09:35:27 +0000
committerdes <des@FreeBSD.org>2004-02-11 09:35:27 +0000
commitdf874487598fce07306b67b1bdba600ca3cc9f94 (patch)
tree0223f1423526289449cec5ef8bbd284951afae58 /lib
parent33bdcbd9cfcca378bec7970a1475f108ee4d03e7 (diff)
downloadFreeBSD-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')
-rw-r--r--lib/libfetch/http.c1
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;
}
}
OpenPOWER on IntegriCloud