Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'cc/fetch-error-message-fix'
[gitweb.git]
/
remote-curl.c
diff --git
a/remote-curl.c
b/remote-curl.c
index 1220dffcdc57a17476fb2021db5fb1605857ab80..90d565c8c5421eee7f929059e8e465ddfbe78dc2 100644
(file)
--- a/
remote-curl.c
+++ b/
remote-curl.c
@@
-617,7
+617,8
@@
static int probe_rpc(struct rpc_state *rpc, struct slot_results *results)
return err;
}
-static curl_off_t xcurl_off_t(size_t len) {
+static curl_off_t xcurl_off_t(size_t len)
+{
uintmax_t size = len;
if (size > maximum_signed_value_of_type(curl_off_t))
die("cannot handle pushes this big");