X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http.c;h=455732fb243180bb1101a6b5135f332f9f13fd7a;hb=9c787f3f88f077ad23498cf03b1b57ac3bd41b33;hp=ed6414a2aaa4e0f6cf7672a089f49060aad62bfb;hpb=82f05d5dd7ec54c4cd30f016c4380b21245e0d63;p=git.git diff --git a/http.c b/http.c index ed6414a2a..455732fb2 100644 --- a/http.c +++ b/http.c @@ -1244,7 +1244,7 @@ int finish_http_object_request(struct http_object_request *freq) process_http_object_request(freq); if (freq->http_code == 416) { - fprintf(stderr, "Warning: requested range invalid; we may already have all the data.\n"); + warning("requested range invalid; we may already have all the data."); } else if (freq->curl_result != CURLE_OK) { if (stat(freq->tmpfile, &st) == 0) if (st.st_size == 0)