Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rs/avoid-overflow-in-midpoint-computation'
[gitweb.git]
/
fetch-pack.c
diff --git
a/fetch-pack.c
b/fetch-pack.c
index 3f24d0c8a69f5d105f796b8102cb37e4213a0e86..1c10f54e788ca53b548a226a66dd1eec96a8cb22 100644
(file)
--- a/
fetch-pack.c
+++ b/
fetch-pack.c
@@
-1115,7
+1115,7
@@
static int send_fetch_request(struct fetch_negotiator *negotiator, int fd_out,
server_supports_v2("server-option", 1)) {
int i;
for (i = 0; i < args->server_options->nr; i++)
- packet_
write_fmt(fd_out
, "server-option=%s",
+ packet_
buf_write(&req_buf
, "server-option=%s",
args->server_options->items[i].string);
}