summaryrefslogtreecommitdiff
path: root/src/assuan-pipe-server.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2001-12-05 23:45:01 +0000
committerWerner Koch <wk@gnupg.org>2001-12-05 23:45:01 +0000
commite9a8c90d48d8d1118638293698f5bff0741a55f9 (patch)
tree0d88a5a2e59c2627b0f4e25c5a4117a844f2920c /src/assuan-pipe-server.c
parent47e100a5fe010c4dad695d15f6941f5402565810 (diff)
downloadlibassuan-e9a8c90d48d8d1118638293698f5bff0741a55f9.tar.gz
assuan-connect.c (assuan_pipe_connect): Add more error reporting.
assuan-client.c: New. assuan-inquire.c: New. assuan-handler.c (process_request): Check for nested invocations.
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;