diff options
Diffstat (limited to 'http.h')
-rw-r--r-- | http.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -136,10 +136,9 @@ extern char *get_remote_object_url(const char *url, const char *hex, int http_get_strbuf(const char *url, struct strbuf *content_type, struct strbuf *result, int options); /* - * Prints an error message using error() containing url and curl_errorstr, - * and returns ret. + * Prints an error message using error() containing url and curl_errorstr. */ -int http_error(const char *url, int ret); +void http_error(const char *url); extern int http_fetch_ref(const char *base, struct ref *ref); |