summaryrefslogtreecommitdiffstats
path: root/assuan/assuan-handler.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2001-12-06 00:45:01 +0100
committerWerner Koch <wk@gnupg.org>2001-12-06 00:45:01 +0100
commitac88a4e804713b70794d55beea3af7cc23b1807b (patch)
treecb54e7e22c42473143bd7bfb43dcebc66f9ec9c9 /assuan/assuan-handler.c
parent--armor does now produce PEM format. (diff)
downloadgnupg2-ac88a4e804713b70794d55beea3af7cc23b1807b.tar.xz
gnupg2-ac88a4e804713b70794d55beea3af7cc23b1807b.zip
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 'assuan/assuan-handler.c')
-rw-r--r--assuan/assuan-handler.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/assuan/assuan-handler.c b/assuan/assuan-handler.c
index 13f1f9d3e..aee2407b2 100644
--- a/assuan/assuan-handler.c
+++ b/assuan/assuan-handler.c
@@ -353,6 +353,9 @@ process_request (ASSUAN_CONTEXT ctx)
{
int rc;
+ if (ctx->in_inquire)
+ return ASSUAN_Nested_Commands;
+
rc = _assuan_read_line (ctx);
if (rc)
return rc;