summaryrefslogtreecommitdiffstats
path: root/mh.c
diff options
context:
space:
mode:
authorJohan D <djo33@free.fr>2009-08-04 12:08:37 +0200
committerJohan D <djo33@free.fr>2009-08-04 12:08:37 +0200
commite238e427bd2f3404ec43470dc70c3b8281e139e3 (patch)
tree601f7644be4cb65a6a568dd4c0d1cfe2e6e5ffa9 /mh.c
parent04869933595fa5125fe5caceeec24a98408e41b6 (diff)
Fix MH parsing, fixes [0698e8195545]. Closes #3312
Diffstat (limited to 'mh.c')
-rw-r--r--mh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mh.c b/mh.c
index b03e7146..2b31cca7 100644
--- a/mh.c
+++ b/mh.c
@@ -146,7 +146,7 @@ static int mh_read_token (char *t, int *first, int *last)
if ((p = strchr (t, '-')))
{
*p++ = '\0';
- if (mutt_atoi (t, first) < 0 || mutt_atoi (t, last) < 0)
+ if (mutt_atoi (t, first) < 0 || mutt_atoi (p, last) < 0)
return -1;
}
else