diff options
author | James Booth <boothj5@gmail.com> | 2015-09-01 21:52:11 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-09-01 21:52:11 +0100 |
commit | 8a90e1acf18d325d4ef1cf664e514bd92c689cf3 (patch) | |
tree | 1fd4dbfdd2de833694e0cd9e55a8e7a410168d97 /src | |
parent | aee832f7c1cfde08d1bec2ec4fa343afd52e4d25 (diff) | |
download | profani-tty-8a90e1acf18d325d4ef1cf664e514bd92c689cf3.tar.gz |
PGP: Use old gpgme_io_write
Diffstat (limited to 'src')
-rw-r--r-- | src/pgp/gpg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pgp/gpg.c b/src/pgp/gpg.c index aa0926b8..bb20261e 100644 --- a/src/pgp/gpg.c +++ b/src/pgp/gpg.c @@ -83,7 +83,7 @@ static gpgme_error_t * _p_gpg_passphrase_cb(void *hook, const char *uid_hint, const char *passphrase_info, int prev_was_bad, int fd) { if (passphrase) { - gpgme_io_writen(fd, passphrase, strlen(passphrase)); + gpgme_io_write(fd, passphrase, strlen(passphrase)); } else { GString *pass_term = g_string_new(""); |