diff options
author | Kevin McCarthy <kevin@8t8.us> | 2021-05-04 10:38:24 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2021-05-04 10:38:24 -0700 |
commit | bd29a9a0d7c52f856d1a7ae34cd227c8d0613d8e (patch) | |
tree | 46742ea38494fad4e8100c1f36272f5cab4c5589 /imap | |
parent | b24a1a250549036e8c56475c676e7c666866d9e2 (diff) | |
parent | 7c4779ac24d2fb68a2a47b58c7904118f40965d5 (diff) |
Merge branch 'stable'
Diffstat (limited to 'imap')
-rw-r--r-- | imap/util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/imap/util.c b/imap/util.c index 6400dd68..7966202d 100644 --- a/imap/util.c +++ b/imap/util.c @@ -1036,13 +1036,11 @@ int mutt_seqset_iterator_next (SEQSET_ITERATOR *iter, unsigned int *next) if (iter->substr_cur == iter->eostr) return 1; - while (!*(iter->substr_cur)) - iter->substr_cur++; iter->substr_end = strchr (iter->substr_cur, ','); if (!iter->substr_end) iter->substr_end = iter->eostr; else - *(iter->substr_end) = '\0'; + *(iter->substr_end++) = '\0'; range_sep = strchr (iter->substr_cur, ':'); if (range_sep) |