Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/rerere-xsnprintf'
[gitweb.git]
/
daemon.c
diff --git
a/daemon.c
b/daemon.c
index be70cd4da09ccab8850be41e19b0fc4b9a10f502..46b411c7d941ecf862b7a7ffdce38ef8767e29e4 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);
}