mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user