2004-03-11 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (gpgsm_cancel): Only call assuan_disconnect if GPGSM->assuan_ctx is not NULL. Set it to NULL afterwards.
This commit is contained in:
parent
6de192d691
commit
dcb04fb195
@ -1,3 +1,8 @@
|
||||
2004-03-11 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* engine-gpgsm.c (gpgsm_cancel): Only call assuan_disconnect if
|
||||
GPGSM->assuan_ctx is not NULL. Set it to NULL afterwards.
|
||||
|
||||
2004-03-07 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* gpgme-config.in: Do not emit include and lib directory for
|
||||
|
@ -289,7 +289,11 @@ gpgsm_cancel (void *engine)
|
||||
if (gpgsm->message_cb.fd != -1)
|
||||
_gpgme_io_close (gpgsm->message_cb.fd);
|
||||
|
||||
if (gpgsm->assuan_ctx)
|
||||
{
|
||||
assuan_disconnect (gpgsm->assuan_ctx);
|
||||
gpgsm->assuan_ctx = NULL;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user