Pass fdpassing flag to assuan_socket_connect.
authorWerner Koch <wk@gnupg.org>
Tue, 10 Nov 2009 15:04:12 +0000 (15:04 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 10 Nov 2009 15:04:12 +0000 (15:04 +0000)
src/ChangeLog
src/engine-uiserver.c

index 2443c2f..9c9fffa 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-10  Werner Koch  <wk@g10code.com>
+
+       * engine-uiserver.c (uiserver_new): Pass fdpassing flag to
+       assuan_socket_connect.
+
 2009-11-10  Marcus Brinkmann  <marcus@g10code.de>
 
        * gpgme.c (gpgme_new): Set default sub protocol.
index a867832..cdcf683 100644 (file)
@@ -294,7 +294,7 @@ uiserver_new (void **engine, const char *file_name, const char *home_dir)
   err = assuan_socket_connect (uiserver->assuan_ctx,
                               file_name ?
                               file_name : _gpgme_get_uiserver_socket_path (),
-                              0, 0);
+                              0, ASSUAN_SOCKET_SERVER_FDPASSING);
   if (err)
     goto leave;