aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan-handler.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-11-22 13:13:04 +0000
committerWerner Koch <[email protected]>2006-11-22 13:13:04 +0000
commit67246aed5738aa8a595ee0ff97394a424d734d50 (patch)
treef7bef4ec9163e36b29620271be681b02eed43871 /src/assuan-handler.c
parentPreparing a release (diff)
downloadlibassuan-67246aed5738aa8a595ee0ff97394a424d734d50.tar.gz
libassuan-67246aed5738aa8a595ee0ff97394a424d734d50.zip
Final fix.
Diffstat (limited to 'src/assuan-handler.c')
-rw-r--r--src/assuan-handler.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/assuan-handler.c b/src/assuan-handler.c
index 205ad10..44b655f 100644
--- a/src/assuan-handler.c
+++ b/src/assuan-handler.c
@@ -678,14 +678,14 @@ assuan_get_data_fp (assuan_context_t ctx)
if (ctx->outbound.data.fp)
return ctx->outbound.data.fp;
-
- ctx->outbound.data.fp = funopen (ctx, 0,
#ifdef HAVE_FUNOPEN
- fun_cookie_write,
+ ctx->outbound.data.fp = funopen (ctx, 0, fun_cookie_write,
+ 0, _assuan_cookie_write_flush);
#else
- _assuan_cookie_write_data,
-#endif
+ ctx->outbound.data.fp = funopen (ctx, 0, _assuan_cookie_write_data,
0, _assuan_cookie_write_flush);
+#endif
+
ctx->outbound.data.error = 0;
return ctx->outbound.data.fp;
#else