summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-08-10 19:36:46 +0300
committerSergey Poznyakoff <gray@gnu.org>2020-08-10 19:36:46 +0300
commitbf200fbd238cb5da42bb7fc8ad2cd433c7135fe3 (patch)
tree504ed1f2a89844ae4268a5ea63820361cd350072 /examples
parent0ac500aef722ac5674cfd053889e1c0101c88f97 (diff)
downloadmailutils-bf200fbd238cb5da42bb7fc8ad2cd433c7135fe3.tar.gz
mailutils-bf200fbd238cb5da42bb7fc8ad2cd433c7135fe3.tar.bz2
Use mu_temp_stream_create instead of mu_temp_file_stream_create everywhere
Diffstat (limited to 'examples')
-rw-r--r--examples/mta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mta.c b/examples/mta.c
index 588447871..223a770a3 100644
--- a/examples/mta.c
+++ b/examples/mta.c
@@ -206,10 +206,10 @@ make_tmp (mu_stream_t in)
size_t size = 0, n;
mu_message_t mesg;
- rc = mu_temp_file_stream_create (&out, NULL, 0);
+ rc = mu_temp_stream_create (&out, 0);
if (rc)
{
- mu_error (_("unable to open temporary file: %s"), mu_strerror (rc));
+ mu_error (_("unable to open temporary stream: %s"), mu_strerror (rc));
exit (EX_UNAVAILABLE);
}

Return to:

Send suggestions and report system problems to the System administrator.