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/w32-io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/w32-io.c') diff --git a/src/w32-io.c b/src/w32-io.c index a6d52388..8e7abd32 100644 --- a/src/w32-io.c +++ b/src/w32-io.c @@ -74,7 +74,7 @@ static struct that dup'ed file descriptors are closed before the file descriptors from which they are dup'ed are closed, ensures that the handle or socket is always valid, and shared among all file - descriptors refering to the same underlying object. + descriptors referring to the same underlying object. The logic behind this is that there is only one reason for us to dup file descriptors anyway: to allow simpler book-keeping of @@ -978,7 +978,7 @@ _gpgme_io_write (int fd, const void *buffer, size_t count) return TRACE_SYSRES (-1); } - /* If no error occured, the number of bytes in the buffer must be + /* If no error occurred, the number of bytes in the buffer must be zero. */ assert (!ctx->nbytes); -- cgit v1.2.3