summaryrefslogtreecommitdiff
path: root/mail/next.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/next.c')
-rw-r--r--mail/next.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/next.c b/mail/next.c
index 8410d4cb4..529f61f34 100644
--- a/mail/next.c
+++ b/mail/next.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
@@ -68,7 +68,7 @@ mail_next (int argc, char **argv)
int rc = msgset_parse (argc, argv, MSG_NODELETED|MSG_SILENT, &list);
if (!rc)
{
- n = list->msg_part[0];
+ n = msgset_msgno (list);
msgset_free (list);
if (util_get_message (mbox, n, &msg))
return 1;

Return to:

Send suggestions and report system problems to the System administrator.