Merge branch 'tr/http-updates'
[gitweb.git] / http.c
diff --git a/http.c b/http.c
index 01e0fdc342d68038e367ea424e663a0beaf22618..5c3efb96d92be775b1ab2debed2920363bbe7355 100644 (file)
--- a/http.c
+++ b/http.c
@@ -1266,7 +1266,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)