diff options
Diffstat (limited to 'mail/hold.c')
-rw-r--r-- | mail/hold.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/hold.c b/mail/hold.c index 3f682f997..2ac4d4500 100644 --- a/mail/hold.c +++ b/mail/hold.c @@ -1,5 +1,5 @@ /* GNU Mailutils -- a suite of utilities for electronic mail - Copyright (C) 1999-2019 Free Software Foundation, Inc. + Copyright (C) 1999-2024 Free Software Foundation, Inc. GNU Mailutils is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ hold0 (msgset_t *mspec, mu_message_t msg, void *data) mu_attribute_unset_userflag (attr, MAIL_ATTRIBUTE_MBOXED); mu_attribute_set_userflag (attr, MAIL_ATTRIBUTE_PRESERVED); - set_cursor (mspec->msg_part[0]); + set_cursor (msgset_msgno (mspec)); return 0; } |