Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
commit-graph: always load commit-graph information
[gitweb.git]
/
daemon.c
diff --git
a/daemon.c
b/daemon.c
index 652f89b6e761646c75e5a549780e6d2087e36d27..72dfeaf6e296323db7baf9e4545e412c01878417 100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-760,10
+760,8
@@
static int execute(void)
alarm(0);
len = strlen(line);
- if (len && line[len-1] == '\n') {
- line[--len] = 0;
- pktlen--;
- }
+ if (len && line[len-1] == '\n')
+ line[len-1] = 0;
/* parse additional args hidden behind a NUL byte */
if (len != pktlen)