1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

PGP: Use old gpgme_io_write

This commit is contained in:
James Booth 2015-09-01 21:52:11 +01:00
parent aee832f7c1
commit 8a90e1acf1

View File

@ -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("");