diff options
author | Vincent Lefevre <vincent@vinc17.net> | 2017-04-30 12:25:08 -0700 |
---|---|---|
committer | Vincent Lefevre <vincent@vinc17.net> | 2017-04-30 12:25:08 -0700 |
commit | 8bcb1cbdea4b28f17ef6cd8cc2379dcbde47db4c (patch) | |
tree | 367dc062e4e2e29b20c3cce74e91700c0ef5fdce /pgp.c | |
parent | fe777f9348b1801d9ebc0d587f418eb523539965 (diff) |
Convert all exec calls to use mutt_envlist(), remove setenv function.
The documentation implies that all children processes will be affected
by the setenv command, so convert all the exec calls to use
mutt_envlist().
The setenv("GPG_TTY") call is no longer needed so remove it.
With that removed, there are no other setenv calls in mutt, so remove
the autoconf check and replacement function.
Diffstat (limited to 'pgp.c')
-rw-r--r-- | pgp.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -114,10 +114,7 @@ int pgp_use_gpg_agent (void) return 0; if ((tty = ttyname(0))) - { - setenv("GPG_TTY", tty, 0); mutt_envlist_set ("GPG_TTY", tty, 0); - } return 1; } |