From: Jonathan Nieder Date: Mon, 5 Sep 2011 22:29:34 +0000 (-0500) Subject: http: remove extra newline in error message X-Git-Tag: v1.7.8-rc0~113^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8abc5082222b7f65e07453a0aca46ce6d25ce3a5;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/http.c b/http.c index b2ae8de16..74197519b 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; }