diff options
author | Marcus Brinkmann <[email protected]> | 2002-01-22 15:11:53 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2002-01-22 15:11:53 +0000 |
commit | 6f7d1bc7704fb043439ecaf4fe14261eb56c10ab (patch) | |
tree | a6da5895dc6cfa646a5c8a557cca29a9f268ff35 /gpgme/export.c | |
parent | Fix copyright year. (diff) | |
download | gpgme-6f7d1bc7704fb043439ecaf4fe14261eb56c10ab.tar.gz gpgme-6f7d1bc7704fb043439ecaf4fe14261eb56c10ab.zip |
2002-01-22 Marcus Brinkmann <[email protected]>
* wait.c (_gpgme_wait_on_condition): If the process finished,
reset the pending flag. Also if the operation was cancelled.
(struct proc_s): Rename READY to DONE.
(wait_item_s): Likewise.
(set_process_ready): Rename to ...
(set_process_done): ... this.
(_gpgme_remove_proc_from_wait_queue): Call set_process_done
instead set_process_ready.
(_gpgme_wait_on_condition): Likewise.
(do_select): Rename READY to DONE.
* verify.c (gpgme_op_verify): Do not set pending to zero here.
* sign.c (gpgme_op_sign): Likewise.
* import.c (gpgme_op_import): Likewise.
* genkey.c (gpgme_op_genkey): Likewise.
* export.c (gpgme_op_export): Likewise.
* encrypt.c (gpgme_op_encrypt): Likewise.
* delete.c (gpgme_op_delete): Likewise.
* decrypt-verify.c (gpgme_op_decrypt_verify): Likewise.
* decrypt.c (gpgme_op_decrypt): Likewise.
Diffstat (limited to '')
-rw-r--r-- | gpgme/export.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gpgme/export.c b/gpgme/export.c index 38964046..e113ad38 100644 --- a/gpgme/export.c +++ b/gpgme/export.c @@ -94,9 +94,6 @@ gpgme_op_export (GpgmeCtx ctx, GpgmeRecipients recipients, GpgmeData keydata) { GpgmeError err = gpgme_op_export_start (ctx, recipients, keydata); if (!err) - { - gpgme_wait (ctx, 1); - ctx->pending = 0; - } + gpgme_wait (ctx, 1); return err; } |