Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
vcs-svn: use error_errno()
[gitweb.git]
/
daemon.c
diff --git
a/daemon.c
b/daemon.c
index 1e258ac8f9cebf135aa7ac07389f3ae4a49842ff..8d45c336f5f816768962c39e8af6b10e0bb0e21e 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);
}