]> Pileus Git - ~andy/git/blobdiff - http-push.c
http: drop http_error function
[~andy/git] / http-push.c
index 439a555a72e81d54e2cd453eae07e24e5ab61e66..395a8cfc1055fb6febc9cee559d8943bb4d9e829 100644 (file)
@@ -1551,7 +1551,7 @@ static int remote_exists(const char *path)
                ret = 0;
                break;
        case HTTP_ERROR:
-               http_error(url);
+               error("unable to access '%s': %s", url, curl_errorstr);
        default:
                ret = -1;
        }