summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-02-10 12:51:01 +0200
committerSergey Poznyakoff <gray@gnu.org>2021-02-10 12:51:01 +0200
commit98e16306791e4cf1c167c9319522d0531de66c7c (patch)
treeaefa659550faf64d49a25acb97cf78a7d647afdc
parent5c74d76a1a96dbff919ccc995422084d99593c78 (diff)
downloadmailutils-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mh/inc.c b/mh/inc.c
index 678cd8574..176f32b22 100644
--- a/mh/inc.c
+++ b/mh/inc.c
@@ -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);

Return to:

Send suggestions and report system problems to the System administrator.