diff options
| author | Sergey Poznyakoff <gray@gnu.org> | 2020-04-20 19:30:25 +0300 |
|---|---|---|
| committer | Sergey Poznyakoff <gray@gnu.org> | 2020-04-20 19:30:25 +0300 |
| commit | 0e4871208d16f5481eedc6a00866e6e350d1744d (patch) | |
| tree | adbeb1352fdd88ea465388ff79ce1c9ba83d772f | |
| parent | b8664765e1c58e4443f86c57245d3d20dc31ce17 (diff) | |
| download | mailutils-0e4871208d16f5481eedc6a00866e6e350d1744d.tar.gz | |
Fix uid->seqno translation
* libmailutils/msgset/trans.c (_mu_msgset_translate_pair): Don't
exclude end point of the range.
| -rw-r--r-- | libmailutils/msgset/trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmailutils/msgset/trans.c b/libmailutils/msgset/trans.c index ea41550..9e41d3a 100644 --- a/libmailutils/msgset/trans.c +++ b/libmailutils/msgset/trans.c @@ -63,7 +63,7 @@ _mu_msgset_translate_pair (mu_msgset_t mset, int mode, } else x = end; - for (; rc == MU_ERR_NOENT && beg < x; beg++) + for (; rc == MU_ERR_NOENT && beg <= x; beg++) rc = mu_mailbox_translate (mset->mbox, cmd, beg, &n); } if (rc) |
