Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
http: simplify http_error helper function
[gitweb.git]
/
remote-curl.c
diff --git
a/remote-curl.c
b/remote-curl.c
index 6c6714b00a13c9d3393493be6bfad3c131875c24..9abe4b71162d9b718c9c4af10637836714a14be4 100644
(file)
--- a/
remote-curl.c
+++ b/
remote-curl.c
@@
-216,7
+216,7
@@
static struct discovery* discover_refs(const char *service, int for_push)
die("Authentication failed for '%s'", url);
default:
show_http_message(&type, &buffer);
- http_error(url
, http_ret
);
+ http_error(url);
die("HTTP request failed");
}