From aee832f7c1cfde08d1bec2ec4fa343afd52e4d25 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 1 Sep 2015 21:40:07 +0100 Subject: [PATCH] PGP: Use old gpgme_io_write --- src/pgp/gpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pgp/gpg.c b/src/pgp/gpg.c index 3d6bdc09..aa0926b8 100644 --- a/src/pgp/gpg.c +++ b/src/pgp/gpg.c @@ -100,7 +100,7 @@ _p_gpg_passphrase_cb(void *hook, const char *uid_hint, const char *passphrase_in passphrase_attempt = pass_term->str; g_string_free(pass_term, FALSE); - gpgme_io_writen(fd, passphrase_attempt, strlen(passphrase_attempt)); + gpgme_io_write(fd, passphrase_attempt, strlen(passphrase_attempt)); } return 0;