aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/command.c')
-rw-r--r--agent/command.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/agent/command.c b/agent/command.c
index b405ec61c..e6f34fd39 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -498,8 +498,11 @@ cmd_learn (ASSUAN_CONTEXT ctx, char *line)
static int
option_handler (ASSUAN_CONTEXT ctx, const char *key, const char *value)
{
- CTRL ctrl = assuan_get_pointer (ctx);
+/* CTRL ctrl = assuan_get_pointer (ctx); */
+ /* FIXME: We should not change opt. here. It is not a problem right
+ now but as soon as we are allowing concurrent connections we mess
+ things up */
if (!strcmp (key, "display"))
{
if (opt.display)