summaryrefslogtreecommitdiffstats
path: root/lib/libfetch
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libfetch')
-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