summaryrefslogtreecommitdiff
path: root/src/wait-private.c
diff options
context:
space:
mode:
authorJustus Winter <justus@g10code.com>2015-12-02 11:28:07 +0100
committerJustus Winter <justus@g10code.com>2015-12-02 11:28:07 +0100
commit8c61cbfb8ff2e1056840ecf8511810ed2482eb1f (patch)
tree30c5f763d51fd3880b53516a5c17214f90682f21 /src/wait-private.c
parentdfa79f9300b837b0f7f2ea44afa589bfcda1dbd9 (diff)
downloadgpgme-8c61cbfb8ff2e1056840ecf8511810ed2482eb1f.tar.gz
Fix typos found by codespell.
-- Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'src/wait-private.c')
-rw-r--r--src/wait-private.c6
1 files changed, 3 insertions, 3 deletions
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);