summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uclient-fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uclient-fetch.c b/uclient-fetch.c
index 7aa60ea..9672e07 100644
--- a/uclient-fetch.c
+++ b/uclient-fetch.c
@@ -120,6 +120,8 @@ static void header_done_cb(struct uclient *cl)
break;
default:
+ if (!quiet)
+ fprintf(stderr, "HTTP error %d\n", cl->status_code);
request_done(cl);
error_ret = 8;
break;