Fix possible assert in the card edit.
This commit is contained in:
parent
caf36ce1ce
commit
f4e35be325
@ -1,5 +1,7 @@
|
|||||||
2009-06-09 Werner Koch <wk@g10code.com>
|
2009-06-09 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* engine-gpg.c (gpg_io_event): Test for cmd.fd.
|
||||||
|
|
||||||
* version.c (gpgme_check_version_internal): Make result const.
|
* version.c (gpgme_check_version_internal): Make result const.
|
||||||
|
|
||||||
* gpgme.c: Include priv-io.h.
|
* gpgme.c: Include priv-io.h.
|
||||||
|
@ -171,6 +171,8 @@ close_notify_handler (int fd, void *opaque)
|
|||||||
}
|
}
|
||||||
else if (gpg->colon.fd[1] == fd)
|
else if (gpg->colon.fd[1] == fd)
|
||||||
gpg->colon.fd[1] = -1;
|
gpg->colon.fd[1] = -1;
|
||||||
|
else if (gpg->cmd.fd == fd)
|
||||||
|
gpg->cmd.fd = -1;
|
||||||
else if (gpg->fd_data_map)
|
else if (gpg->fd_data_map)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
Loading…
Reference in New Issue
Block a user