Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-10-26 02:07:00 +0300
committerJunio C Hamano <gitster@pobox.com>2021-10-26 02:07:00 +0300
commit06355d72dc610ec3806cda328ec9b347a5daed5b (patch)
treea0b993df8cfe0ec915baf86c7326a07f2290dd78 /daemon.c
parentd54fd59d848422989268088c8fba01a5c27e8dc2 (diff)
parentec9a37d69b4b327c08668bb897f27f25276a5b1c (diff)
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 'daemon.c')
-rw-r--r--daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index d80d009d1a..b1fcbe0d6f 100644
--- a/daemon.c
+++ b/daemon.c
@@ -765,7 +765,7 @@ static int execute(void)
set_keep_alive(0);
alarm(init_timeout ? init_timeout : timeout);
- pktlen = packet_read(0, NULL, NULL, packet_buffer, sizeof(packet_buffer), 0);
+ pktlen = packet_read(0, packet_buffer, sizeof(packet_buffer), 0);
alarm(0);
len = strlen(line);