diff options
| author | Werner Koch <[email protected]> | 2006-09-14 16:50:33 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2006-09-14 16:50:33 +0000 |
| commit | 03d3322e5fb928d48ea4192fd2f2cc851d791421 (patch) | |
| tree | 768acc2e54f6e4abcc405e665bf058aa1556d3f5 /agent/call-pinentry.c | |
| parent | Various fixes and new features. (diff) | |
| download | gnupg-03d3322e5fb928d48ea4192fd2f2cc851d791421.tar.gz gnupg-03d3322e5fb928d48ea4192fd2f2cc851d791421.zip | |
Take advantage of newer gpg-error features.
Diffstat (limited to 'agent/call-pinentry.c')
| -rw-r--r-- | agent/call-pinentry.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/call-pinentry.c b/agent/call-pinentry.c index 55758d020..734cf45b9 100644 --- a/agent/call-pinentry.c +++ b/agent/call-pinentry.c @@ -238,8 +238,8 @@ start_pinentry (ctrl_t ctrl) no_close_list[i] = -1; /* Connect to the pinentry and perform initial handshaking */ - rc = assuan_pipe_connect2 (&ctx, opt.pinentry_program, argv, - no_close_list, atfork_cb, NULL); + rc = assuan_pipe_connect_ext (&ctx, opt.pinentry_program, argv, + no_close_list, atfork_cb, NULL, 0); if (rc) { log_error ("can't connect to the PIN entry module: %s\n", @@ -649,7 +649,7 @@ agent_popup_message_start (ctrl_t ctrl, const char *desc, popup_tid = pth_spawn (tattr, popup_message_thread, NULL); if (!popup_tid) { - rc = gpg_error_from_errno (errno); + rc = gpg_error_from_syserror (); log_error ("error spawning popup message handler: %s\n", strerror (errno) ); pth_attr_destroy (tattr); |
