diff options
author | Kevin McCarthy <kevin@8t8.us> | 2017-06-06 18:38:41 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2017-06-06 18:38:41 -0700 |
commit | 74a49627fc283c9ea896a812eacfb562d1f262fe (patch) | |
tree | c2c45710c8a0869987147d17d1c71f0d0079a468 /pgp.c | |
parent | 701329d930769e827c95c430ba82ec3f27c6446f (diff) |
Restore setenv function.
Partially revert fa1192803257, restoring setenv. It turns out we
still need the function.
Diffstat (limited to 'pgp.c')
-rw-r--r-- | pgp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -114,7 +114,10 @@ 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; } |