aboutsummaryrefslogtreecommitdiffstats
path: root/remote-curl.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-25 16:07:00 -0700
committerJunio C Hamano <gitster@pobox.com>2021-10-25 16:07:00 -0700
commit06355d72dc610ec3806cda328ec9b347a5daed5b (patch)
treea0b993df8cfe0ec915baf86c7326a07f2290dd78 /remote-curl.c
parentd54fd59d848422989268088c8fba01a5c27e8dc2 (diff)
parentec9a37d69b4b327c08668bb897f27f25276a5b1c (diff)
downloadgit-06355d72dc610ec3806cda328ec9b347a5daed5b.tar.gz
Merge branch 'ab/pkt-line-cleanup'
Code clean-up. * ab/pkt-line-cleanup: pkt-line.[ch]: remove unused packet_read_line_buf() pkt-line.[ch]: remove unused packet_buf_write_len()
Diffstat (limited to 'remote-curl.c')
-rw-r--r--remote-curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote-curl.c b/remote-curl.c
index 5975103b96..d69156312b 100644
--- a/remote-curl.c
+++ b/remote-curl.c
@@ -1088,7 +1088,7 @@ static int rpc_service(struct rpc_state *rpc, struct discovery *heads,
rpc->protocol_header = NULL;
while (!err) {
- int n = packet_read(rpc->out, NULL, NULL, rpc->buf, rpc->alloc, 0);
+ int n = packet_read(rpc->out, rpc->buf, rpc->alloc, 0);
if (!n)
break;
rpc->pos = 0;