summaryrefslogtreecommitdiff
path: root/lib/security.c
diff options
context:
space:
mode:
authorFabian Keil <fk@fabiankeil.de>2011-04-19 15:54:13 +0200
committerJulien Chaffraix <julien.chaffraix@gmail.com>2011-04-21 07:55:53 -0700
commit1702a2c08d3a0ed5945f34e6cd38436611f65164 (patch)
treee72941241445237dc35527c098d6c2ca098bfaa5 /lib/security.c
parent9230be0797cc7d155240fd38d07bee041527bbc2 (diff)
downloadcurl-1702a2c08d3a0ed5945f34e6cd38436611f65164.tar.gz
Fix a couple of spelling errors in lib/
Found with codespell.
Diffstat (limited to 'lib/security.c')
-rw-r--r--lib/security.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/security.c b/lib/security.c
index 1aa280682..c4fc88af8 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -147,7 +147,7 @@ static int ftp_send_command(struct connectdata *conn, const char *message, ...)
}
/* Read |len| from the socket |fd| and store it in |to|. Return a CURLcode
- saying whether an error occured or CURLE_OK if |len| was read. */
+ saying whether an error occurred or CURLE_OK if |len| was read. */
static CURLcode
socket_read(curl_socket_t fd, void *to, size_t len)
{
@@ -173,7 +173,7 @@ socket_read(curl_socket_t fd, void *to, size_t len)
/* Write |len| bytes from the buffer |to| to the socket |fd|. Return a
- CURLcode saying whether an error occured or CURLE_OK if |len| was
+ CURLcode saying whether an error occurred or CURLE_OK if |len| was
written. */
static CURLcode
socket_write(struct connectdata *conn, curl_socket_t fd, const void *to,