summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 509d597)
raw | patch | inline | side by side (parent: 509d597)
author | Jonathan Nieder <jrnieder@gmail.com> | |
Mon, 5 Sep 2011 22:29:34 +0000 (17:29 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 6 Sep 2011 22:48:49 +0000 (15:48 -0700) |
There is no need for a blank line between the detailed error message
and the later "fatal: HTTP request failed" notice. Keep the newline
written by error() itself and eliminate the extra one.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
and the later "fatal: HTTP request failed" notice. Keep the newline
written by error() itself and eliminate the extra one.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http.c | patch | blob | history |
index b2ae8de16db3abe2cad27249ae767f421aa6bb24..74197519b16994bc8bd67a1de00da476cc5df9e1 100644 (file)
--- a/http.c
+++ b/http.c
{
/* http_request has already handled HTTP_START_FAILED. */
if (ret != HTTP_START_FAILED)
- error("%s while accessing %s\n", curl_errorstr, url);
+ error("%s while accessing %s", curl_errorstr, url);
return ret;
}