(_mh_msgset_parse): Accept "all" message spec on folders with only one message.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -356,7 +356,7 @@ _mh_msgset_parse (mailbox_t mbox, mh_msgset_t *msgset, int argc, char **argv) | ... | @@ -356,7 +356,7 @@ _mh_msgset_parse (mailbox_t mbox, mh_msgset_t *msgset, int argc, char **argv) |
356 | 356 | ||
357 | case '-': | 357 | case '-': |
358 | end = strtoul (p+1, &p, 0); | 358 | end = strtoul (p+1, &p, 0); |
359 | if (*p || end == start) | 359 | if (*p) |
360 | msgset_abort (argv[i]); | 360 | msgset_abort (argv[i]); |
361 | if (end < start) | 361 | if (end < start) |
362 | { | 362 | { | ... | ... |
-
Please register or sign in to post a comment