summaryrefslogtreecommitdiffstats
path: root/editmsg.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2000-07-07 06:37:28 +0000
committerThomas Roessler <roessler@does-not-exist.org>2000-07-07 06:37:28 +0000
commiteb834e1b117a4fa57a6db766feda31319b120039 (patch)
treeeb92a2b53310bbf4b82f862f372626e8f5d707a4 /editmsg.c
parentf81c6aef361c4518a630fede797ac5e60f906bed (diff)
Fix #185: is_from would return 0 (i.e., error) when parsing Jan 1
1970 12:00 - apparently, this point of time occurs on real mail folders.
Diffstat (limited to 'editmsg.c')
-rw-r--r--editmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editmsg.c b/editmsg.c
index 4212c796..664099bd 100644
--- a/editmsg.c
+++ b/editmsg.c
@@ -127,7 +127,7 @@ static int edit_one_message (CONTEXT *ctx, HEADER *cur)
of = cf = 0;
- if (fgets (buff, sizeof (buff), fp) && is_from (buff, NULL, 0))
+ if (fgets (buff, sizeof (buff), fp) && is_from (buff, NULL, 0, NULL))
{
if (tmpctx.magic == M_MBOX || tmpctx.magic == M_MMDF ||
tmpctx.magic == M_KENDRA)