mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
PGP: Use old gpgme_io_write
This commit is contained in:
parent
aee832f7c1
commit
8a90e1acf1
@ -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)
|
_p_gpg_passphrase_cb(void *hook, const char *uid_hint, const char *passphrase_info, int prev_was_bad, int fd)
|
||||||
{
|
{
|
||||||
if (passphrase) {
|
if (passphrase) {
|
||||||
gpgme_io_writen(fd, passphrase, strlen(passphrase));
|
gpgme_io_write(fd, passphrase, strlen(passphrase));
|
||||||
} else {
|
} else {
|
||||||
GString *pass_term = g_string_new("");
|
GString *pass_term = g_string_new("");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user