[svn] dirmngr - r332 - trunk/src
svn author marcus
cvs at cvs.gnupg.org
Wed Nov 25 18:56:32 CET 2009
Author: marcus
Date: 2009-11-25 18:56:31 +0100 (Wed, 25 Nov 2009)
New Revision: 332
Modified:
trunk/src/ChangeLog
trunk/src/server.c
Log:
2009-11-25 Marcus Brinkmann <marcus at g10code.de>
* server.c (start_command_handler): Use assuan_fd_t and
assuan_fdopen on fds.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2009-11-17 13:46:52 UTC (rev 331)
+++ trunk/src/ChangeLog 2009-11-25 17:56:31 UTC (rev 332)
@@ -1,3 +1,8 @@
+2009-11-25 Marcus Brinkmann <marcus at g10code.de>
+
+ * server.c (start_command_handler): Use assuan_fd_t and
+ assuan_fdopen on fds.
+
2009-11-05 Marcus Brinkmann <marcus at g10code.de>
* server.c (start_command_handler): Update use of
Modified: trunk/src/server.c
===================================================================
--- trunk/src/server.c 2009-11-17 13:46:52 UTC (rev 331)
+++ trunk/src/server.c 2009-11-25 17:56:31 UTC (rev 332)
@@ -1361,10 +1361,10 @@
if (fd == ASSUAN_INVALID_FD)
{
- 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
More information about the Gnupg-commits
mailing list