agent: Minor change for 56b5c9f.
authorWerner Koch <wk@gnupg.org>
Thu, 7 May 2015 13:42:00 +0000 (15:42 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 7 May 2015 13:42:00 +0000 (15:42 +0200)
commit436f2060721e997479a9dd5be8dfc73627dd49c9
tree41f117605e5b4c0da73a0c7d2ae361e570b42986
parentd0d4984cfec54dee727b9e9d33d09e33c6f2e182
agent: Minor change for 56b5c9f.

* agent/call-pinentry.c (agent_askpin): Move option setting to ...
(start_pinentry): here.  Fix error code check.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/call-pinentry.c