summaryrefslogtreecommitdiff
path: root/src/assuan-pipe-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/assuan-pipe-server.c')
-rw-r--r--src/assuan-pipe-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/assuan-pipe-server.c b/src/assuan-pipe-server.c
index 018d05d..58d9aa1 100644
--- a/src/assuan-pipe-server.c
+++ b/src/assuan-pipe-server.c
@@ -35,6 +35,7 @@ assuan_init_pipe_server (ASSUAN_CONTEXT *r_ctx, int filedes[2])
ctx = xtrycalloc (1, sizeof *ctx);
if (!ctx)
return ASSUAN_Out_Of_Core;
+ ctx->is_server = 1;
ctx->input_fd = -1;
ctx->output_fd = -1;