about summary refs log tree commit diff stats
path: root/src/pgp
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-09-01 21:40:07 +0100
committerJames Booth <boothj5@gmail.com>2015-09-01 21:40:07 +0100
commitaee832f7c1cfde08d1bec2ec4fa343afd52e4d25 (patch)
tree4f1f36472cabf41d9c20485ef915a779bac3241e /src/pgp
parentb468fd7ae440d423812aee4964975c75ae86b489 (diff)
downloadprofani-tty-aee832f7c1cfde08d1bec2ec4fa343afd52e4d25.tar.gz
PGP: Use old gpgme_io_write
Diffstat (limited to 'src/pgp')
-rw-r--r--src/pgp/gpg.c2
1 files changed, 1 insertions, 1 deletions
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;