mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
wks: Put stdout into binary mode for Windows at another place.
* tools/wks-util.c (wks_send_mime): Set stdout to binary. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
5c83759364
commit
ed5575ec55
@ -276,7 +276,11 @@ wks_send_mime (mime_maker_t mime)
|
||||
|
||||
/* Without any option we take a short path. */
|
||||
if (!opt.use_sendmail && !opt.output)
|
||||
return mime_maker_make (mime, es_stdout);
|
||||
{
|
||||
es_set_binary (es_stdout);
|
||||
return mime_maker_make (mime, es_stdout);
|
||||
}
|
||||
|
||||
|
||||
mail = es_fopenmem (0, "w+b");
|
||||
if (!mail)
|
||||
|
Loading…
x
Reference in New Issue
Block a user