summaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2018-02-23 23:29:01 +0000
committerViktor Szakats <vszakats@users.noreply.github.com>2018-02-23 23:29:01 +0000
commit7e35eb77292fe6464889ddc8329c6a64136f969d (patch)
tree76b1bdd02473d44be6773d0c61bbe8e98aeb8ffd /lib/sendf.c
parent06df42410e8829b70812b56664ab9fe3c77b683a (diff)
downloadcurl-7e35eb77292fe6464889ddc8329c6a64136f969d.tar.gz
spelling fixes
Detected using the `codespell` tool. Also contains one URL protocol upgrade. Closes https://github.com/curl/curl/pull/2334
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 227d1fc6a..27c0ccc73 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -389,7 +389,7 @@ ssize_t Curl_send_plain(struct connectdata *conn, int num,
(WSAEWOULDBLOCK == err)
#else
/* errno may be EWOULDBLOCK or on some systems EAGAIN when it returned
- due to its inability to send off data without blocking. We therefor
+ due to its inability to send off data without blocking. We therefore
treat both error codes the same here */
(EWOULDBLOCK == err) || (EAGAIN == err) || (EINTR == err) ||
(EINPROGRESS == err)
@@ -456,7 +456,7 @@ ssize_t Curl_recv_plain(struct connectdata *conn, int num, char *buf,
(WSAEWOULDBLOCK == err)
#else
/* errno may be EWOULDBLOCK or on some systems EAGAIN when it returned
- due to its inability to send off data without blocking. We therefor
+ due to its inability to send off data without blocking. We therefore
treat both error codes the same here */
(EWOULDBLOCK == err) || (EAGAIN == err) || (EINTR == err)
#endif