diff options
author | NIIBE Yutaka <[email protected]> | 2019-04-19 05:54:52 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2019-04-19 05:54:52 +0000 |
commit | 7673ef7953482f42cab50dca1810e5c9d10f461e (patch) | |
tree | 93cf3f886f923e98e94bdc2e6843828d25735376 | |
parent | core: Fix error return. (diff) | |
download | gpgme-7673ef7953482f42cab50dca1810e5c9d10f461e.tar.gz gpgme-7673ef7953482f42cab50dca1810e5c9d10f461e.zip |
core: Fix duplication of close_notify_handler for gpgsm.
* src/engine-gpgsm.c [!USE_DESCRIPTOR_PASSING] (gpgsm_new): Remove
last call to _gpgme_io_set_close_notify.
--
It is called just after the code in question for all cases.
GnuPG-bug-id: 4456
Fixes-commit: dd21ec997cf4b6ba18538c63c728478110ad1f60
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | src/engine-gpgsm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/engine-gpgsm.c b/src/engine-gpgsm.c index 396f19c9..07fde4a9 100644 --- a/src/engine-gpgsm.c +++ b/src/engine-gpgsm.c @@ -549,8 +549,6 @@ gpgsm_new (void **engine, const char *file_name, const char *home_dir, || _gpgme_io_set_close_notify (gpgsm->output_cb.fd, close_notify_handler, gpgsm) || _gpgme_io_set_close_notify (gpgsm->message_cb.fd, - close_notify_handler, gpgsm) - || _gpgme_io_set_close_notify (gpgsm->diag_cb.fd, close_notify_handler, gpgsm))) { err = gpg_error (GPG_ERR_GENERAL); |