/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strbuf: introduce strbuf_getline_{lf,nul}()
[git/git.git]
/
daemon.c
diff --git
a/daemon.c
b/daemon.c
index
be70cd4
..
46b411c
100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-424,7
+424,7
@@
static void copy_to_log(int fd)
return;
}
- while (strbuf_getline
(&line, fp, '\n'
) != EOF) {
+ while (strbuf_getline
_lf(&line, fp
) != EOF) {
logerror("%s", line.buf);
strbuf_setlen(&line, 0);
}