diff options
Diffstat (limited to 'mail/pipe.c')
-rw-r--r-- | mail/pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/pipe.c b/mail/pipe.c index af8f23d2b..657dffa9d 100644 --- a/mail/pipe.c +++ b/mail/pipe.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 @@ -49,7 +49,7 @@ mail_pipe (int argc, char **argv) mu_message_t msg; mu_stream_t stream; - if (util_get_message (mbox, mp->msg_part[0], &msg) == 0) + if (util_get_message (mbox, msgset_msgno (mp), &msg) == 0) { mu_message_get_streamref (msg, &stream); mu_stream_copy (outstr, stream, 0, NULL); |