aboutsummaryrefslogtreecommitdiffstats
path: root/src/wait-global.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2015-12-02 10:28:07 +0000
committerJustus Winter <[email protected]>2015-12-02 10:28:07 +0000
commit8c61cbfb8ff2e1056840ecf8511810ed2482eb1f (patch)
tree30c5f763d51fd3880b53516a5c17214f90682f21 /src/wait-global.c
parentMake use of user passphrase handler during passwd. (diff)
downloadgpgme-8c61cbfb8ff2e1056840ecf8511810ed2482eb1f.tar.gz
gpgme-8c61cbfb8ff2e1056840ecf8511810ed2482eb1f.zip
Fix typos found by codespell.
-- Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r--src/wait-global.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wait-global.c b/src/wait-global.c
index f03775e2..28f3921f 100644
--- a/src/wait-global.c
+++ b/src/wait-global.c
@@ -206,7 +206,7 @@ _gpgme_wait_global_event_cb (void *data, gpgme_event_io_t type,
gpgme_error_t err = ctx_active (ctx);
if (err)
- /* An error occured. Close all fds in this context, and
+ /* An error occurred. Close all fds in this context, and
send the error in a done event. */
_gpgme_cancel_with_err (ctx, err, 0);
}
@@ -325,7 +325,7 @@ gpgme_wait_ext (gpgme_ctx_t ctx, gpgme_error_t *status,
err = _gpgme_run_io_cb (&fdt.fds[i], 0, &local_op_err);
if (err || local_op_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 (ictx, err, local_op_err);