mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02: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
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue