mirror of
https://github.com/curl/curl.git
synced 2026-07-31 14:58:02 +03:00
spelling fixes
Detected using the `codespell` tool (version 1.13.0). Also secure and fix an URL.
This commit is contained in:
parent
71c39f2965
commit
4bd91bc474
22 changed files with 32 additions and 32 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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.");
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue