From bdd180f47cb0d63a2f8c4a7ed9b2aa66b4781cd8 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 2 Oct 2015 12:21:31 +0200 Subject: scd: Use Assuan macro instead of a number constant. -- --- agent/call-scd.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/agent/call-scd.c b/agent/call-scd.c index 6cd582546..65b5e7cfd 100644 --- a/agent/call-scd.c +++ b/agent/call-scd.c @@ -326,11 +326,12 @@ start_scd (ctrl_t ctrl) } no_close_list[i] = ASSUAN_INVALID_FD; - /* Connect to the pinentry and perform initial handshaking. Use - detached flag (128) so that under W32 SCDAEMON does not show up a + /* Connect to the scdaemon and perform initial handshaking. Use + detached flag so that under Windows SCDAEMON does not show up a new window. */ rc = assuan_pipe_connect (ctx, opt.scdaemon_program, argv, - no_close_list, atfork_cb, NULL, 128); + no_close_list, atfork_cb, NULL, + ASSUAN_PIPE_CONNECT_DETACHED); if (rc) { log_error ("can't connect to the SCdaemon: %s\n", -- cgit v1.2.3