diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2021-02-10 12:51:01 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2021-02-10 12:51:01 +0200 |
commit | 98e16306791e4cf1c167c9319522d0531de66c7c (patch) | |
tree | aefa659550faf64d49a25acb97cf78a7d647afdc | |
parent | 5c74d76a1a96dbff919ccc995422084d99593c78 (diff) | |
download | mailutils-98e16306791e4cf1c167c9319522d0531de66c7c.tar.gz mailutils-98e16306791e4cf1c167c9319522d0531de66c7c.tar.bz2 |
inc: when updating the unseen sequence, translate message numbers to uids
* mh/inc.c (main): Ensure translation from ordinal to sequence
numbers (uid).
-rw-r--r-- | mh/inc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -444,7 +444,7 @@ main (int argc, char **argv) { mu_msgset_t unseen; - mu_msgset_create (&unseen, NULL, MU_MSGSET_NUM); + mu_msgset_create (&unseen, incdat.output, MU_MSGSET_UID); mu_msgset_add_range (unseen, lastseen, incdat.lastmsg, MU_MSGSET_NUM); mh_seq_add (incdat.output, unseen_seq, unseen, 0); mu_msgset_free (unseen); |