diff options
author | Thiago Farina <tfransosi@gmail.com> | 2010-01-03 11:20:30 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-03 16:17:03 -0800 |
commit | bd757c18597789d4f01cbd2ffc7c1f55e90cfcd0 (patch) | |
tree | 45b5546f930e9f3836637f996bb3d4c39ca80e9f /http.c | |
parent | b7fcb582e53cf2b3600263afa08cf4dce49a13f7 (diff) | |
download | git-bd757c18597789d4f01cbd2ffc7c1f55e90cfcd0.tar.gz |
Use warning function instead of fprintf(stderr, "Warning: ...").
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |