summaryrefslogtreecommitdiff
path: root/mh/mhn.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-06-03 21:58:51 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-06-03 21:58:51 +0000
commit6de9251eb6e7ade349609e06ce08b320dfa65e64 (patch)
treeb5d703a5abd59913bd5a4522244550721a0fd5fe /mh/mhn.c
parentaa61bbaaaa24a38eba2ed09a1939600766122e40 (diff)
downloadmailutils-6de9251eb6e7ade349609e06ce08b320dfa65e64.tar.gz
mailutils-6de9251eb6e7ade349609e06ce08b320dfa65e64.tar.bz2
Use new stream functions
Diffstat (limited to 'mh/mhn.c')
-rw-r--r--mh/mhn.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mh/mhn.c b/mh/mhn.c
index b47d833f0..a11bccbaf 100644
--- a/mh/mhn.c
+++ b/mh/mhn.c
@@ -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;

Return to:

Send suggestions and report system problems to the System administrator.