summaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <mb@g10code.com>2009-11-25 18:58:26 +0100
committerMarcus Brinkmann <mb@g10code.com>2009-11-25 18:58:26 +0100
commit18bdcc08815a861db626d878205ab6b48f334b8a (patch)
tree3be7f2983fadb780bda191c645d4f0b886a2092b /scd/command.c
parentAdd gpgconf related dummy options default_pubkey_algo. (diff)
downloadgnupg2-18bdcc08815a861db626d878205ab6b48f334b8a.tar.xz
gnupg2-18bdcc08815a861db626d878205ab6b48f334b8a.zip
agent/
2009-11-25 Marcus Brinkmann <marcus@g10code.de> * command.c (start_command_handler): Use assuan_fd_t and assuan_fdopen on fds. scd/ 2009-11-25 Marcus Brinkmann <marcus@g10code.de> * command.c (scd_command_handler): Use assuan_fd_t and assuan_fdopen on fds. sm/ 2009-11-25 Marcus Brinkmann <marcus@g10code.de> * server.c (gpgsm_server): Use assuan_fd_t and assuan_fdopen on fds. g10/ 2009-11-25 Marcus Brinkmann <marcus@g10code.de> * server.c (gpg_server): Use assuan_fd_t and assuan_fdopen on fds.
Diffstat (limited to '')
-rw-r--r--scd/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scd/command.c b/scd/command.c
index 110ec7232..2e7c5b998 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -1913,10 +1913,10 @@ scd_command_handler (ctrl_t ctrl, int fd)
if (fd == -1)
{
- int filedes[2];
+ assuan_fd_t filedes[2];
- filedes[0] = 0;
- filedes[1] = 1;
+ filedes[0] = assuan_fdopen (0);
+ filedes[1] = assuan_fdopen (1);
rc = assuan_init_pipe_server (ctx, filedes);
}
else