Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2011-09-06 02:29:34 +0400
committerJunio C Hamano <gitster@pobox.com>2011-09-07 02:48:49 +0400
commit8abc5082222b7f65e07453a0aca46ce6d25ce3a5 (patch)
treed7a9b4d22df828b41efcdb9a95dbf1cf337c6fb1 /http.c
parent509d59705ee07094bcc56b49a17ba0ae983da50f (diff)
http: remove extra newline in error message
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>
Diffstat (limited to 'http.c')
-rw-r--r--http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.c b/http.c
index b2ae8de16d..74197519b1 100644
--- a/http.c
+++ b/http.c
@@ -903,7 +903,7 @@ int http_error(const char *url, int ret)
{
/* 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;
}