diff options
author | Marcus Brinkmann <[email protected]> | 2010-06-10 15:26:03 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2010-06-10 15:26:03 +0000 |
commit | fd5193ac8c695701fe6fb48c271414347af8449e (patch) | |
tree | cfe9a2906234ded7e25ba84155d2cd22da5c5f27 /common/estream.c | |
parent | common/ (diff) | |
download | gnupg-fd5193ac8c695701fe6fb48c271414347af8449e.tar.gz gnupg-fd5193ac8c695701fe6fb48c271414347af8449e.zip |
2010-06-10 Marcus Brinkmann <[email protected]>
* server.c (SERVER_STDIN, SERVER_STDOUT): New macros.
(gpgsm_server): Use them with assuan_fdopen.
Diffstat (limited to '')
-rw-r--r-- | common/estream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/estream.c b/common/estream.c index 56e362d68..bf7955d06 100644 --- a/common/estream.c +++ b/common/estream.c @@ -2452,7 +2452,7 @@ _es_get_std_stream (int fd) else if (fd == 1 && custom_std_fds_valid[1]) stream = do_fdopen (custom_std_fds[1], "a", 1, 1); else if (custom_std_fds_valid[2]) - stream = do_fdopen (custom_std_fds[1], "a", 1, 1); + stream = do_fdopen (custom_std_fds[2], "a", 1, 1); if (!stream) { |