mirror of
https://github.com/git/git.git
synced 2025-03-23 01:56:41 +00:00
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>
This commit is contained in:
parent
509d59705e
commit
8abc508222
2
http.c
2
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user