summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-11-27 12:52:53 +0900
committerJunio C Hamano <gitster@pobox.com>2017-11-27 13:05:50 +0900
commitbc93acb9638052e78f7f0e2e781a093abbf8d124 (patch)
treee679d7fd9f1fe7ca60d4af857ffba963b51c064a
parent21302effbfeeb440e594e4f64371f3b6ec2d2b91 (diff)
downloadgit-bc93acb9638052e78f7f0e2e781a093abbf8d124.tar.gz
SQUASH???
-rw-r--r--http-backend.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/http-backend.c b/http-backend.c
index 69570d16e7..2268d65731 100644
--- a/http-backend.c
+++ b/http-backend.c
@@ -324,10 +324,9 @@ static ssize_t read_request_fixed_len(int fd, ssize_t req_len, unsigned char **o
ssize_t cnt = 0;
if (max_request_buffer < req_len) {
- die("request was larger than our maximum size (%lu): %lu;"
- " try setting GIT_HTTP_MAX_REQUEST_BUFFER",
- max_request_buffer,
- req_len);
+ die("request was larger than our maximum size (%lu): "
+ "%" PRIuMAX "; try setting GIT_HTTP_MAX_REQUEST_BUFFER",
+ max_request_buffer, (uintmax_t)req_len);
}
if (req_len <= 0) {