summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-03-05 12:57:06 +0200
committerEli Zaretskii <eliz@gnu.org>2016-03-05 12:57:06 +0200
commit792311228d8f4cb26262c279e310b0344d735bd8 (patch)
treef4c12d08d88e1fe8c3002485df2e6159c87f9de6 /lib-src
parentc45a1ca3c4eed56be6ad8086dcc805a86bc5935c (diff)
Fix mbox files produced by movemail on MS-Windows
* lib-src/movemail.c (mbx_delimit_begin): Use portable strftime format specifiers, as at least the MS-Windows version of strftime doesn't support %e and %T.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/movemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index eb1962a8f6..efa0219e58 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -809,7 +809,7 @@ mbx_delimit_begin (FILE *mbf)
char fromline[100];
if (! strftime (fromline, sizeof fromline,
- "From movemail %a %b %e %T %Y\n", ltime))
+ "From movemail %a %b %d %H:%M:%S %Y\n", ltime))
{
errno = EOVERFLOW;
return false;