From ae4afd61a5046ab63c8a528f4b4c03cf0f410bbd Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 18 Feb 2010 10:45:01 +0000 Subject: Fixed backport of libassuan-2 changes. --- agent/call-pinentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'agent/call-pinentry.c') diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c index 28cf59af8..47fa7261b 100644 --- a/agent/call-pinentry.c +++ b/agent/call-pinentry.c @@ -406,7 +406,7 @@ start_pinentry (ctrl_t ctrl) for (idx=0; tbl[idx].key; idx++) { - if (asprintf (&optstr, "OPTION default-ok=%s", + if (asprintf (&optstr, "OPTION default-%s=%s", tbl[idx].key, _(tbl[idx].value)) < 0 ) return unlock_pinentry (out_of_core ()); assuan_transact (entry_ctx, optstr, NULL, NULL, NULL, NULL, NULL, -- cgit v1.2.3