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 2443c2f1dbc0a03945320e6c6f1a2d1746d17ba3..9c9fffaa29a258215f1c021799a2074d2fbda8ab 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 a867832ace4a601bcae53ae34178915eccd7fed3..cdcf683e99a129a4c18458b407bdf60bbc2f7821 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;