diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-06-03 21:58:51 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-06-03 21:58:51 +0000 |
commit | 6de9251eb6e7ade349609e06ce08b320dfa65e64 (patch) | |
tree | b5d703a5abd59913bd5a4522244550721a0fd5fe /mh/mhn.c | |
parent | aa61bbaaaa24a38eba2ed09a1939600766122e40 (diff) | |
download | mailutils-6de9251eb6e7ade349609e06ce08b320dfa65e64.tar.gz mailutils-6de9251eb6e7ade349609e06ce08b320dfa65e64.tar.bz2 |
Use new stream functions
Diffstat (limited to 'mh/mhn.c')
-rw-r--r-- | mh/mhn.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1366,11 +1366,13 @@ show_handler (message_t msg, msg_part_t part, char *type, char *encoding, int fd = 1; char *tempfile = NULL; int ismime; - + mu_transport_t trans; + if (message_is_multipart (msg, &ismime) == 0 && ismime) return 0; - stream_get_fd (out, &fd); + stream_get_transport (out, &trans); + fd = trans; if (mode_options & OPT_PAUSE) flags |= MHN_CONFIRM; |