From 8c61cbfb8ff2e1056840ecf8511810ed2482eb1f Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 2 Dec 2015 11:28:07 +0100 Subject: Fix typos found by codespell. -- Signed-off-by: Justus Winter --- src/wait-private.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/wait-private.c') diff --git a/src/wait-private.c b/src/wait-private.c index 9a43110e..12d31805 100644 --- a/src/wait-private.c +++ b/src/wait-private.c @@ -89,7 +89,7 @@ _gpgme_wait_on_condition (gpgme_ctx_t ctx, volatile int *cond, if (nr < 0) { - /* An error occured. Close all fds in this context, and + /* An error occurred. Close all fds in this context, and signal it. */ err = gpg_error_from_syserror (); _gpgme_cancel_with_err (ctx, err, 0); @@ -116,7 +116,7 @@ _gpgme_wait_on_condition (gpgme_ctx_t ctx, volatile int *cond, err = _gpgme_run_io_cb (&ctx->fdt.fds[i], 0, &op_err); if (err) { - /* An error occured. Close all fds in this context, + /* An error occurred. Close all fds in this context, and signal it. */ _gpgme_cancel_with_err (ctx, err, 0); @@ -124,7 +124,7 @@ _gpgme_wait_on_condition (gpgme_ctx_t ctx, volatile int *cond, } else if (op_err) { - /* An operational error occured. Cancel the current + /* An operational error occurred. Cancel the current operation but not the session, and signal it. */ _gpgme_cancel_with_err (ctx, 0, op_err); -- cgit v1.2.3