projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d5de28
)
Remove extra space from 'From' line when writing to mbox
author
Vasily Kolobkov
<>
Thu, 9 Jun 2016 12:30:30 +0000
(14:30 +0200)
committer
Philipp Takacs
<philipp@bureaucracy.de>
Thu, 21 Jul 2016 14:37:05 +0000
(16:37 +0200)
uip/dropsbr.c
patch
|
blob
|
history
diff --git
a/uip/dropsbr.c
b/uip/dropsbr.c
index
45451f8
..
e105884
100644
(file)
--- a/
uip/dropsbr.c
+++ b/
uip/dropsbr.c
@@
-131,7
+131,7
@@
mbox_copy(int to, int from)
fp = strchr(ep + 1, '\n');
tp = dctime(dlocaltimenow());
snprintf(buffer, sizeof(buffer),
- "From %.*s %s",
+ "From %.*s %s",
(int)(fp-ep), ep, tp);
} else if (strncmp(buffer, "X-Envelope-From:",
16)==0) {
@@
-158,7
+158,7
@@
mbox_copy(int to, int from)
ep = "nobody@nowhere";
tp = dctime(dlocaltimenow());
snprintf(buffer, sizeof(buffer),
- "From %s %s%s", ep, tp,
+ "From %s %s%s", ep, tp,
tmpbuffer);
}
}