summaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
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