aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/encrypt.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2002-01-22 15:11:53 +0000
committerMarcus Brinkmann <[email protected]>2002-01-22 15:11:53 +0000
commit6f7d1bc7704fb043439ecaf4fe14261eb56c10ab (patch)
treea6da5895dc6cfa646a5c8a557cca29a9f268ff35 /gpgme/encrypt.c
parentFix copyright year. (diff)
downloadgpgme-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/encrypt.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gpgme/encrypt.c b/gpgme/encrypt.c
index d2463336..3c457f0d 100644
--- a/gpgme/encrypt.c
+++ b/gpgme/encrypt.c
@@ -227,7 +227,6 @@ gpgme_op_encrypt ( GpgmeCtx c, GpgmeRecipients recp,
if (c->result.encrypt->no_recipients)
err = mk_error (No_Recipients);
}
- c->pending = 0;
/* Old gpg versions don't return status info for invalid
* recipients, so we simply check whether we got any output at
* all and if not assume that we don't have valid recipients