diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-11-27 12:52:53 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-27 13:05:50 +0900 |
commit | bc93acb9638052e78f7f0e2e781a093abbf8d124 (patch) | |
tree | e679d7fd9f1fe7ca60d4af857ffba963b51c064a | |
parent | 21302effbfeeb440e594e4f64371f3b6ec2d2b91 (diff) | |
download | git-bc93acb9638052e78f7f0e2e781a093abbf8d124.tar.gz |
SQUASH???
-rw-r--r-- | http-backend.c | 7 |
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) { |