aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2018-06-03 12:14:45 +0000
committerViktor Szakats <vszakats@users.noreply.github.com>2018-06-03 12:14:45 +0000
commit4bd91bc4742dbf194dd7a63519aa1ed32e4db47d (patch)
tree46fa0ad2951fd0cd86c3875b9c065a1aebc54217 /lib
parent71c39f29651523ffda10d0abc17f9057f54bd356 (diff)
spelling fixes
Detected using the `codespell` tool (version 1.13.0). Also secure and fix an URL.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.netware4
-rw-r--r--lib/curl_fnmatch.c2
-rw-r--r--lib/easy.c4
-rw-r--r--lib/file.c2
-rw-r--r--lib/multi.c2
-rw-r--r--lib/telnet.c2
-rw-r--r--lib/urldata.h2
7 files changed, 9 insertions, 9 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index f4b6528eb..2b392f3f4 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -166,7 +166,7 @@ endif
CFLAGS += -align 4
else
# PRELUDE = $(NDK_CLIB)/imports/clibpre.o
- # to avoid the __init_* / __deinit_* whoes don't use prelude from NDK
+ # to avoid the __init_* / __deinit_* woes don't use prelude from NDK
PRELUDE = "$(MWCW_PATH)/libraries/runtime/prelude.obj"
# CFLAGS += -include "$(MWCW_PATH)/headers/nlm_clib_prefix.h"
CFLAGS += -align 1
@@ -192,7 +192,7 @@ else
endif
else
PRELUDE = $(NDK_CLIB)/imports/clibpre.gcc.o
- # to avoid the __init_* / __deinit_* whoes don't use prelude from NDK
+ # to avoid the __init_* / __deinit_* woes don't use prelude from NDK
# http://www.gknw.net/development/mk_nlm/gcc_pre.zip
# PRELUDE = $(NDK_ROOT)/pre/prelude.o
CFLAGS += -include $(NDKBASE)/nlmconv/genlm.h
diff --git a/lib/curl_fnmatch.c b/lib/curl_fnmatch.c
index e8aff6761..fbfd85c43 100644
--- a/lib/curl_fnmatch.c
+++ b/lib/curl_fnmatch.c
@@ -37,7 +37,7 @@
*
* Make this function match POSIX. Test 1307 includes a set of test patterns
* that returns different results with a POSIX fnmatch() than with this
- * implemenation and this is considered a bug where POSIX is the guiding
+ * implementation and this is considered a bug where POSIX is the guiding
* light.
*/
diff --git a/lib/easy.c b/lib/easy.c
index 6b914353d..bf85075e1 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -113,7 +113,7 @@ static CURLcode win32_init(void)
res = WSAStartup(wVersionRequested, &wsaData);
if(res != 0)
- /* Tell the user that we couldn't find a useable */
+ /* Tell the user that we couldn't find a usable */
/* winsock.dll. */
return CURLE_FAILED_INIT;
@@ -125,7 +125,7 @@ static CURLcode win32_init(void)
if(LOBYTE(wsaData.wVersion) != LOBYTE(wVersionRequested) ||
HIBYTE(wsaData.wVersion) != HIBYTE(wVersionRequested) ) {
- /* Tell the user that we couldn't find a useable */
+ /* Tell the user that we couldn't find a usable */
/* winsock.dll. */
WSACleanup();
diff --git a/lib/file.c b/lib/file.c
index db04cc2da..988bc7440 100644
--- a/lib/file.c
+++ b/lib/file.c
@@ -461,7 +461,7 @@ static CURLcode file_do(struct connectdata *conn, bool *done)
return result;
/* Adjust the start offset in case we want to get the N last bytes
- * of the stream iff the filesize could be determined */
+ * of the stream if the filesize could be determined */
if(data->state.resume_from < 0) {
if(!fstated) {
failf(data, "Can't get the size of file.");
diff --git a/lib/multi.c b/lib/multi.c
index be926ae92..b318ce713 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -458,7 +458,7 @@ CURLMcode curl_multi_add_handle(struct Curl_multi *multi,
happens if the lastcall time is set to the same time when the handle is
removed as when the next handle is added, as then the check in
update_timer() that prevents calling the application multiple times with
- the same timer infor will not trigger and then the new handle's timeout
+ the same timer info will not trigger and then the new handle's timeout
will not be notified to the app.
The work-around is thus simply to clear the 'lastcall' variable to force
diff --git a/lib/telnet.c b/lib/telnet.c
index 0a051e6f9..4e5a6eaa0 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -1017,7 +1017,7 @@ static void sendsuboption(struct connectdata *conn, int option)
CURL_SB_ACCUM(tn, CURL_IAC);
CURL_SB_ACCUM(tn, CURL_SB);
CURL_SB_ACCUM(tn, CURL_TELOPT_NAWS);
- /* We must deal either with litte or big endian processors */
+ /* We must deal either with little or big endian processors */
/* Window size must be sent according to the 'network order' */
x = htons(tn->subopt_wsx);
y = htons(tn->subopt_wsy);
diff --git a/lib/urldata.h b/lib/urldata.h
index 7e647a2a6..86295b681 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1348,7 +1348,7 @@ struct DynamicStatic {
char *url; /* work URL, copied from UserDefined */
bool url_alloc; /* URL string is malloc()'ed */
char *referer; /* referer string */
- bool referer_alloc; /* referer sting is malloc()ed */
+ bool referer_alloc; /* referer string is malloc()ed */
struct curl_slist *cookielist; /* list of cookie files set by
curl_easy_setopt(COOKIEFILE) calls */
struct curl_slist *resolve; /* set to point to the set.resolve list when