diff options
author | luz.paz <luzpaz@users.noreply.github.com> | 2018-03-15 22:51:03 -0400 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-03-16 11:08:31 +0100 |
commit | 236402fc2d02068b2ce3656200031ced2fa3c8b1 (patch) | |
tree | bc9cdfb0d0f9ed85a0e90b4630abb199ec7fd40a /lib | |
parent | 39dc0bca5b5124ec5b3e9aac391ad380cf5be6b7 (diff) | |
download | curl-236402fc2d02068b2ce3656200031ced2fa3c8b1.tar.gz |
cleanup: misc typos in strings and comments
Found via `codespell`
Closes #2389
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.h | 2 | ||||
-rw-r--r-- | lib/http_negotiate.c | 2 | ||||
-rw-r--r-- | lib/mime.c | 2 | ||||
-rw-r--r-- | lib/urldata.h | 2 | ||||
-rw-r--r-- | lib/vtls/darwinssl.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/http.h b/lib/http.h index 2ce44bbfc..a5573c738 100644 --- a/lib/http.h +++ b/lib/http.h @@ -104,7 +104,7 @@ CURLcode Curl_http_perhapsrewind(struct connectdata *conn); This value used to be fairly big (100K), but we must take into account that if the server rejects the POST due for authentication reasons, this data - will always be uncondtionally sent and thus it may not be larger than can + will always be unconditionally sent and thus it may not be larger than can always be afforded to send twice. It must not be greater than 64K to work on VMS. diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c index 51375e81d..ddcd65b3b 100644 --- a/lib/http_negotiate.c +++ b/lib/http_negotiate.c @@ -89,7 +89,7 @@ CURLcode Curl_input_negotiate(struct connectdata *conn, bool proxy, } } - /* Initilise the security context and decode our challenge */ + /* Initialize the security context and decode our challenge */ result = Curl_auth_decode_spnego_message(data, userp, passwdp, service, host, header, neg_ctx); diff --git a/lib/mime.c b/lib/mime.c index 0ccb346ee..89819a935 100644 --- a/lib/mime.c +++ b/lib/mime.c @@ -241,7 +241,7 @@ static FILE * vmsfopenread(const char *file, const char *mode) static char *Curl_basename(char *path) { /* Ignore all the details above for now and make a quick and simple - implementaion here */ + implementation here */ char *s1; char *s2; diff --git a/lib/urldata.h b/lib/urldata.h index 3d7b9e5a5..0da5fbce0 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -895,7 +895,7 @@ struct connectdata { well be the same we read from. CURL_SOCKET_BAD disables */ - /** Dynamicly allocated strings, MUST be freed before this **/ + /** Dynamically allocated strings, MUST be freed before this **/ /** struct is killed. **/ struct dynamically_allocated_data { char *proxyuserpwd; diff --git a/lib/vtls/darwinssl.c b/lib/vtls/darwinssl.c index 694ac572d..f00a94295 100644 --- a/lib/vtls/darwinssl.c +++ b/lib/vtls/darwinssl.c @@ -1389,7 +1389,7 @@ static CURLcode darwinssl_connect_step1(struct connectdata *conn, #endif /* CURL_BUILD_MAC */ #if CURL_BUILD_MAC_10_8 || CURL_BUILD_IOS - if(SSLCreateContext != NULL) { /* use the newer API if avaialble */ + if(SSLCreateContext != NULL) { /* use the newer API if available */ if(BACKEND->ssl_ctx) CFRelease(BACKEND->ssl_ctx); BACKEND->ssl_ctx = SSLCreateContext(NULL, kSSLClientSide, kSSLStreamType); |