Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/drop-rsync-transport'
[gitweb.git]
/
ident.c
diff --git
a/ident.c
b/ident.c
index daf7e1ea8370e5b6a60c5a33a1591ef939655664..3da555634290f1812702e2d6da15e5a6806fe635 100644
(file)
--- a/
ident.c
+++ b/
ident.c
@@
-76,7
+76,7
@@
static int add_mailname_host(struct strbuf *buf)
strerror(errno));
return -1;
}
- if (strbuf_getline(&mailnamebuf, mailname
, '\n'
) == EOF) {
+ if (strbuf_getline(&mailnamebuf, mailname) == EOF) {
if (ferror(mailname))
warning("cannot read /etc/mailname: %s",
strerror(errno));