aboutsummaryrefslogtreecommitdiffstats
path: root/assuan/assuan-connect.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2004-12-21 08:42:31 +0000
committerMarcus Brinkmann <[email protected]>2004-12-21 08:42:31 +0000
commita68fd530efb0f3e0d263aa4725c788daa57e7174 (patch)
treecc98df67b2dab0f2ebbf6678ef3c999fc1ef172b /assuan/assuan-connect.c
parent2004-12-12 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-a68fd530efb0f3e0d263aa4725c788daa57e7174.tar.gz
gpgme-a68fd530efb0f3e0d263aa4725c788daa57e7174.zip
2004-12-16 Marcus Brinkmann <[email protected]>
* assuan-pipe-connect.c (do_finish): Do not wait for child to finish. (assuan_pipe_connect): Use double-fork approach. * assuan-connect.c (assuan_disconnect): Do not write BYE to the status line.
Diffstat (limited to '')
-rw-r--r--assuan/assuan-connect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/assuan/assuan-connect.c b/assuan/assuan-connect.c
index 009aaab4..d260e927 100644
--- a/assuan/assuan-connect.c
+++ b/assuan/assuan-connect.c
@@ -39,7 +39,11 @@ assuan_disconnect (ASSUAN_CONTEXT ctx)
{
if (ctx)
{
+#if 0
+ /* This may not work if the pipe is full and the other end is
+ blocked. */
assuan_write_line (ctx, "BYE");
+#endif
ctx->finish_handler (ctx);
ctx->deinit_handler (ctx);
ctx->deinit_handler = NULL;