Pass fdpassing flag to assuan_socket_connect.

This commit is contained in:
Werner Koch 2009-11-10 15:04:12 +00:00
parent e88c7782bf
commit 0fae16ae89
2 changed files with 6 additions and 1 deletions

View 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> 2009-11-10 Marcus Brinkmann <marcus@g10code.de>
* gpgme.c (gpgme_new): Set default sub protocol. * gpgme.c (gpgme_new): Set default sub protocol.

View File

@ -294,7 +294,7 @@ uiserver_new (void **engine, const char *file_name, const char *home_dir)
err = assuan_socket_connect (uiserver->assuan_ctx, err = assuan_socket_connect (uiserver->assuan_ctx,
file_name ? file_name ?
file_name : _gpgme_get_uiserver_socket_path (), file_name : _gpgme_get_uiserver_socket_path (),
0, 0); 0, ASSUAN_SOCKET_SERVER_FDPASSING);
if (err) if (err)
goto leave; goto leave;