aboutsummaryrefslogtreecommitdiffstats
path: root/assuan/assuan-connect.c
diff options
context:
space:
mode:
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;