From 7e35eb77292fe6464889ddc8329c6a64136f969d Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 23 Feb 2018 23:29:01 +0000 Subject: spelling fixes Detected using the `codespell` tool. Also contains one URL protocol upgrade. Closes https://github.com/curl/curl/pull/2334 --- CMake/Utilities.cmake | 2 +- docs/BINDINGS.md | 2 +- docs/FAQ | 4 ++-- docs/MAIL-ETIQUETTE | 2 +- docs/cmdline-opts/progress-bar.d | 2 +- docs/examples/ftpupload.c | 2 +- docs/libcurl/libcurl-tutorial.3 | 2 +- docs/libcurl/opts/CURLINFO_CONDITION_UNMET.3 | 2 +- include/curl/multi.h | 4 ++-- lib/checksrc.pl | 10 +++++----- lib/curl_ntlm_wb.c | 2 +- lib/ftp.c | 2 +- lib/mk-ca-bundle.vbs | 2 +- lib/objnames.inc | 2 +- lib/parsedate.c | 2 +- lib/rtsp.c | 2 +- lib/sendf.c | 4 ++-- lib/sha256.c | 2 +- lib/telnet.c | 3 ++- lib/url.c | 2 +- lib/urldata.h | 2 +- packages/OS400/README.OS400 | 6 +++--- packages/vms/config_h.com | 2 +- src/Makefile.netware | 6 +++--- tests/ftpserver.pl | 4 ++-- tests/libtest/lib560.c | 2 +- tests/libtest/mk-lib1521.pl | 2 +- tests/nroff-scan.pl | 4 ++-- tests/pathhelp.pm | 2 +- tests/server/CMakeLists.txt | 2 +- tests/server/sockfilt.c | 2 +- tests/server/sws.c | 8 ++++---- 32 files changed, 49 insertions(+), 48 deletions(-) diff --git a/CMake/Utilities.cmake b/CMake/Utilities.cmake index 8b6276df6..005b166ff 100644 --- a/CMake/Utilities.cmake +++ b/CMake/Utilities.cmake @@ -19,7 +19,7 @@ function(LIST_SPACES_APPEND_ONCE LIST_NAME) set(${LIST_NAME} "${NEW_LIST_SPACE}" PARENT_SCOPE) endfunction() -# Convinience function that does the same as LIST(FIND ...) but with a TRUE/FALSE return value. +# Convenience function that does the same as LIST(FIND ...) but with a TRUE/FALSE return value. # Ex: IN_STR_LIST(MY_LIST "Searched item" WAS_FOUND) function(IN_STR_LIST LIST_NAME ITEM_SEARCHED RETVAL) list(FIND ${LIST_NAME} ${ITEM_SEARCHED} FIND_POS) diff --git a/docs/BINDINGS.md b/docs/BINDINGS.md index 3ee8599d4..024f169e3 100644 --- a/docs/BINDINGS.md +++ b/docs/BINDINGS.md @@ -95,7 +95,7 @@ Ruby: [curb](https://github.com/taf2/curb) written by Ross Bamford [Scilab](https://help.scilab.org/docs/current/fr_FR/getURL.html) binding by Sylvestre Ledru -[S-Lang](http://www.jedsoft.org/slang/modules/curl.html) by John E Davis +[S-Lang](https://www.jedsoft.org/slang/modules/curl.html) by John E Davis [Smalltalk](http://www.squeaksource.com/CurlPlugin/) Written by Danil Osipchuk diff --git a/docs/FAQ b/docs/FAQ index 7ed5fa0ce..4dfd16421 100644 --- a/docs/FAQ +++ b/docs/FAQ @@ -218,9 +218,9 @@ FAQ very well at the side. Curl's output can be piped into another program or redirected to another file for the next program to interpret. - We focus on protocol related issues and improvements. If you wanna do more + We focus on protocol related issues and improvements. If you want to do more magic with the supported protocols than curl currently does, chances are good - we will agree. If you wanna add more protocols, we may very well agree. + we will agree. If you want to add more protocols, we may very well agree. If you want someone else to do all the work while you wait for us to implement it for you, that is not a very friendly attitude. We spend a diff --git a/docs/MAIL-ETIQUETTE b/docs/MAIL-ETIQUETTE index 54f1090b7..effdcce21 100644 --- a/docs/MAIL-ETIQUETTE +++ b/docs/MAIL-ETIQUETTE @@ -179,7 +179,7 @@ MAIL ETIQUETTE or just remove them completely from the mail. Note that this includes base64 encoded HTTP Basic auth headers. - This public nature of the curl mailing lists makes automaticly inserted mail + This public nature of the curl mailing lists makes automatically inserted mail footers about mails being "private" or "only meant for the receipient" or similar even more silly than usual. Because they are absolutely not private when sent to a public mailing list. diff --git a/docs/cmdline-opts/progress-bar.d b/docs/cmdline-opts/progress-bar.d index 59f0ec543..f27de2d93 100644 --- a/docs/cmdline-opts/progress-bar.d +++ b/docs/cmdline-opts/progress-bar.d @@ -8,5 +8,5 @@ standard, more informational, meter. This progress bar draws a single line of '#' characters across the screen and shows a percentage if the transfer size is known. For transfers without a known size, there will be space ship (-=o=-) that moves back and forth but -only while data is being transfered, with a set of flying hash sign symbols on +only while data is being transferred, with a set of flying hash sign symbols on top. diff --git a/docs/examples/ftpupload.c b/docs/examples/ftpupload.c index 5fc41ef81..bd77bb1f3 100644 --- a/docs/examples/ftpupload.c +++ b/docs/examples/ftpupload.c @@ -77,7 +77,7 @@ int main(void) /* get the file size of the local file */ if(stat(LOCAL_FILE, &file_info)) { - printf("Couldnt open '%s': %s\n", LOCAL_FILE, strerror(errno)); + printf("Couldn't open '%s': %s\n", LOCAL_FILE, strerror(errno)); return 1; } fsize = (curl_off_t)file_info.st_size; diff --git a/docs/libcurl/libcurl-tutorial.3 b/docs/libcurl/libcurl-tutorial.3 index ab2cbeb99..741e08e4b 100644 --- a/docs/libcurl/libcurl-tutorial.3 +++ b/docs/libcurl/libcurl-tutorial.3 @@ -856,7 +856,7 @@ discussed. Instead, the only way to have SSL work over a HTTP proxy is to ask the proxy to tunnel trough everything without being able to check or fiddle with the traffic. -Opening an SSL connection over a HTTP proxy is therefor a matter of asking the +Opening an SSL connection over a HTTP proxy is therefore a matter of asking the proxy for a straight connection to the target host on a specified port. This is made with the HTTP request CONNECT. ("please mr proxy, connect me to that remote host"). diff --git a/docs/libcurl/opts/CURLINFO_CONDITION_UNMET.3 b/docs/libcurl/opts/CURLINFO_CONDITION_UNMET.3 index 848d29708..a8d6fc2c6 100644 --- a/docs/libcurl/opts/CURLINFO_CONDITION_UNMET.3 +++ b/docs/libcurl/opts/CURLINFO_CONDITION_UNMET.3 @@ -31,7 +31,7 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONDITION_UNMET, long *unmet); Pass a pointer to a long to receive the number 1 if the condition provided in the previous request didn't match (see \fICURLOPT_TIMECONDITION(3)\fP). Alas, if this returns a 1 you know that the reason you didn't get data in return is -because it didn't fulfill the condition. The long ths argument points to will +because it didn't fulfill the condition. The long this argument points to will get a zero stored if the condition instead was met. .SH PROTOCOLS HTTP and some diff --git a/include/curl/multi.h b/include/curl/multi.h index bd106ae85..b19dbaf79 100644 --- a/include/curl/multi.h +++ b/include/curl/multi.h @@ -186,8 +186,8 @@ CURL_EXTERN CURLMcode curl_multi_wait(CURLM *multi_handle, * * Returns: CURLMcode type, general multi error code. *NOTE* that this only * returns errors etc regarding the whole multi stack. There might - * still have occurred problems on invidual transfers even when this - * returns OK. + * still have occurred problems on individual transfers even when + * this returns OK. */ CURL_EXTERN CURLMcode curl_multi_perform(CURLM *multi_handle, int *running_handles); diff --git a/lib/checksrc.pl b/lib/checksrc.pl index 92af9000c..c222bb87c 100755 --- a/lib/checksrc.pl +++ b/lib/checksrc.pl @@ -26,7 +26,7 @@ my $indent = 2; my $warnings; my $errors; -my $supressed; # whitelisted problems +my $suppressed; # whitelisted problems my $file; my $dir="."; my $wlist; @@ -60,7 +60,7 @@ my %warnings = ( 'ASTERISKNOSPACE' => 'pointer declared without space before asterisk', 'ASSIGNWITHINCONDITION' => 'assignment within conditional expression', 'EQUALSNOSPACE' => 'equals sign without following space', - 'NOSPACEEQUALS' => 'equals sign without preceeding space', + 'NOSPACEEQUALS' => 'equals sign without preceding space', 'SEMINOSPACE' => 'semicolon without following space', 'MULTISPACE' => 'multiple spaces used when not suitable', ); @@ -101,7 +101,7 @@ sub checkwarn { } if($nowarn) { - $supressed++; + $suppressed++; if($w) { $swarnings++; } @@ -422,7 +422,7 @@ sub scanfile { # There is a quote here, figure out whether the comma is # within a string or '' or not. if($pref =~ /\"/) { - # withing a string + # within a string } elsif($pref =~ /\'$/) { # a single letter @@ -596,7 +596,7 @@ sub scanfile { if($errors || $warnings || $verbose) { printf "checksrc: %d errors and %d warnings\n", $errors, $warnings; - if($supressed) { + if($suppressed) { printf "checksrc: %d errors and %d warnings suppressed\n", $serrors, $swarnings; diff --git a/lib/curl_ntlm_wb.c b/lib/curl_ntlm_wb.c index 03f47a3a5..353a65645 100644 --- a/lib/curl_ntlm_wb.c +++ b/lib/curl_ntlm_wb.c @@ -364,7 +364,7 @@ CURLcode Curl_output_ntlm_wb(struct connectdata *conn, case NTLMSTATE_TYPE1: default: /* Use Samba's 'winbind' daemon to support NTLM authentication, - * by delegating the NTLM challenge/response protocal to a helper + * by delegating the NTLM challenge/response protocol to a helper * in ntlm_auth. * http://devel.squid-cache.org/ntlm/squid_helper_protocol.html * https://www.samba.org/samba/docs/man/manpages-3/winbindd.8.html diff --git a/lib/ftp.c b/lib/ftp.c index a119fe1b8..fec591918 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -1538,7 +1538,7 @@ static CURLcode ftp_state_type(struct connectdata *conn) date. */ if(data->set.opt_no_body && ftpc->file && ftp_need_type(conn, data->set.prefer_ascii)) { - /* The SIZE command is _not_ RFC 959 specified, and therefor many servers + /* The SIZE command is _not_ RFC 959 specified, and therefore many servers may not support it! It is however the only way we have to get a file's size! */ diff --git a/lib/mk-ca-bundle.vbs b/lib/mk-ca-bundle.vbs index a9b983e9b..8da279268 100755 --- a/lib/mk-ca-bundle.vbs +++ b/lib/mk-ca-bundle.vbs @@ -314,7 +314,7 @@ Function RegExprFirst(SearchPattern, TheString) Set objRegExp = New RegExp ' create a regular expression. objRegExp.Pattern = SearchPattern ' sets the search pattern. objRegExp.IgnoreCase = TRUE ' set to ignores case. - objRegExp.Global = TRUE ' set to gloabal search. + objRegExp.Global = TRUE ' set to global search. Set Matches = objRegExp.Execute(TheString) ' do the search. If (Matches.Count) Then RegExprFirst = Matches(0).SubMatches(0) ' return first match. diff --git a/lib/objnames.inc b/lib/objnames.inc index 6a5b2a837..e362f6e8e 100644 --- a/lib/objnames.inc +++ b/lib/objnames.inc @@ -86,7 +86,7 @@ curl_10char_object_name() { # curl_8char_object_name # # Same as curl_10char_object_name() description and details above, except -# that object name is limited to 8 charcters maximum. +# that object name is limited to 8 characters maximum. # curl_8char_object_name() { diff --git a/lib/parsedate.c b/lib/parsedate.c index 23a787fc9..aa27303fc 100644 --- a/lib/parsedate.c +++ b/lib/parsedate.c @@ -433,7 +433,7 @@ static int parsedate(const char *date, time_t *output) tzoff = (val/100 * 60 + val%100)*60; /* the + and - prefix indicates the local time compared to GMT, - this we need ther reversed math to get what we want */ + this we need their reversed math to get what we want */ tzoff = date[-1]=='+'?-tzoff:tzoff; } diff --git a/lib/rtsp.c b/lib/rtsp.c index 168e24593..c60697290 100644 --- a/lib/rtsp.c +++ b/lib/rtsp.c @@ -47,7 +47,7 @@ * -incoming server requests * -server CSeq counter * -digest authentication - * -connect thru proxy + * -connect through proxy * -pipelining? */ 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 diff --git a/lib/sha256.c b/lib/sha256.c index c2acb5265..55716c63b 100644 --- a/lib/sha256.c +++ b/lib/sha256.c @@ -242,7 +242,7 @@ static int SHA256_Final(unsigned char *out, sha256_compress(md, md->buf); md->curlen = 0; } - /* pad upto 56 bytes of zeroes */ + /* pad up to 56 bytes of zeroes */ while(md->curlen < 56) { md->buf[md->curlen++] = (unsigned char)0; } diff --git a/lib/telnet.c b/lib/telnet.c index 48b134ee3..78d3a853d 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1460,7 +1460,8 @@ static CURLcode telnet_do(struct connectdata *conn, bool *done) if(n == 0) /* no bytes */ break; - readfile_read = (DWORD)n; /* fall thru with number of bytes read */ + /* fall through with number of bytes read */ + readfile_read = (DWORD)n; } else { /* read from stdin */ diff --git a/lib/url.c b/lib/url.c index 90afd03a6..f991ade5c 100644 --- a/lib/url.c +++ b/lib/url.c @@ -4117,7 +4117,7 @@ static CURLcode create_conn(struct Curl_easy *data, *************************************************************/ if(prot_missing) { /* We're guessing prefixes here and if we're told to use a proxy or if - we're gonna follow a Location: later or... then we need the protocol + we're going to follow a Location: later or... then we need the protocol part added so that we have a valid URL. */ char *reurl; char *ch_lower; diff --git a/lib/urldata.h b/lib/urldata.h index 975333867..3d7b9e5a5 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -1166,7 +1166,7 @@ struct Curl_http2_dep { }; /* - * This struct is for holding data that was attemped to get sent to the user's + * This struct is for holding data that was attempted to get sent to the user's * callback but is held due to pausing. One instance per type (BOTH, HEADER, * BODY). */ diff --git a/packages/OS400/README.OS400 b/packages/OS400/README.OS400 index f9817b4e0..c766a1f6e 100644 --- a/packages/OS400/README.OS400 +++ b/packages/OS400/README.OS400 @@ -183,8 +183,8 @@ CCSID. CURLINFO_COOKIELIST Lists returned should be released with curl_slist_free_all() after use. Option CURLINFO_CERTINFO is followed by a struct curl_certinfo * * and a -CCSID. Returned structures sould be free'ed using curl_certinfo_free_all() after -use. +CCSID. Returned structures should be free'ed using curl_certinfo_free_all() +after use. Other options are processed like in curl_easy_getinfo(). _ curl_pushheader_bynum_cssid() and curl_pushheader_byname_ccsid() @@ -243,7 +243,7 @@ _ If data compression has to be supported, ZLIB development environment must _ Likewise, if SCP and SFTP protocols have to be compiled in, LIBSSH2 developent environment must be installed. _ Install the curl source directory in IFS. Do NOT install it in the - installation target directory (wich defaults to /curl). + installation target directory (which defaults to /curl). _ Enter shell (QSH) _ Change current directory to the curl installation directory _ Change current directory to ./packages/OS400 diff --git a/packages/vms/config_h.com b/packages/vms/config_h.com index 2a5503f76..0f1fa0f62 100644 --- a/packages/vms/config_h.com +++ b/packages/vms/config_h.com @@ -1382,7 +1382,7 @@ $! search/out 'tfile1' "$_''keyterm'" $ severity = '$severity' $ endif $! -$! Unix compatability routines +$! Unix compatibility routines $!--------------------------------------------- $ if severity .ne. 1 $ then diff --git a/src/Makefile.netware b/src/Makefile.netware index a927da592..ebe6500eb 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -106,7 +106,7 @@ DESCR = curl $(LIBCURL_VERSION_STR) ($(LIBARCH)) - https://curl.haxx.se MTSAFE = YES STACK = 64000 SCREEN = $(TARGET) commandline utility -# Comment the line below if you dont want to load protected automatically. +# Comment the line below if you don't want to load protected automatically. # LDRING = 3 # Uncomment the next line to enable linking with POSIX semantics. @@ -178,7 +178,7 @@ endif CFLAGS += -align 4 else # PRELUDE = $(NDK_CLIB)/imports/clibpre.o - # to avoid the __init_* / __deinit_* whoes dont use prelude from NDK + # to avoid the __init_* / __deinit_* whoes 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 @@ -201,7 +201,7 @@ else endif else # PRELUDE = $(NDK_CLIB)/imports/clibpre.gcc.o - # to avoid the __init_* / __deinit_* whoes dont use prelude from NDK + # to avoid the __init_* / __deinit_* whoes 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/tests/ftpserver.pl b/tests/ftpserver.pl index f7f4fa2ae..97f7b8ea5 100755 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -2708,7 +2708,7 @@ sub datasockf_state { } #********************************************************************** -# nodataconn_str returns string of efective nodataconn command. Notice +# nodataconn_str returns string of effective nodataconn command. Notice # that $nodataconn may be set alone or in addition to a $nodataconnXXX. # sub nodataconn_str { @@ -2934,7 +2934,7 @@ while(@ARGV) { } #*************************************************************************** -# Initialize command line option dependant variables +# Initialize command line option dependent variables # if(!$srcdir) { diff --git a/tests/libtest/lib560.c b/tests/libtest/lib560.c index 0093ea113..16045e6da 100644 --- a/tests/libtest/lib560.c +++ b/tests/libtest/lib560.c @@ -31,7 +31,7 @@ * Simply download a HTTPS file! * * This test was added after the HTTPS-using-multi-interface with OpenSSL - * regression of 7.19.1 to hopefully prevent this embarassing mistake from + * regression of 7.19.1 to hopefully prevent this embarrassing mistake from * appearing again... Unfortunately the bug wasn't triggered by this test, * which presumably is because the connect to a local server is too * fast/different compared to the real/distant servers we saw the bug happen diff --git a/tests/libtest/mk-lib1521.pl b/tests/libtest/mk-lib1521.pl index fbb1cdee2..9771cf57f 100755 --- a/tests/libtest/mk-lib1521.pl +++ b/tests/libtest/mk-lib1521.pl @@ -71,7 +71,7 @@ struct data { /* Unexpected error. CURLE_NOT_BUILT_IN - means disabled at build CURLE_UNKNOWN_OPTION - means no such option (anymore?) - CURLE_SSL_ENGINE_NOTFOUND - set unkown ssl engine + CURLE_SSL_ENGINE_NOTFOUND - set unknown ssl engine CURLE_UNSUPPORTED_PROTOCOL - set bad HTTP version CURLE_BAD_FUNCTION_ARGUMENT - unsupported value */ diff --git a/tests/nroff-scan.pl b/tests/nroff-scan.pl index 393068cd3..6121d4c8e 100755 --- a/tests/nroff-scan.pl +++ b/tests/nroff-scan.pl @@ -69,7 +69,7 @@ sub file { if($str =~ /((libcurl|curl)([^ ]*))\(3\)/i) { my $man = "$1.3"; if(!manpresent($man)) { - print STDERR "error: $f:$line: refering to non-existing man page $man\n"; + print STDERR "error: $f:$line: referring to non-existing man page $man\n"; $errors++; } if($pre ne "I") { @@ -87,7 +87,7 @@ sub file { while($i =~ s/((lib|)curl([^ ]*)) *\"\(3\)(,|) *\" *//i ) { my $man = "$1.3"; if(!manpresent($man)) { - print STDERR "error: $f:$line: refering to non-existing man page $man\n"; + print STDERR "error: $f:$line: referring to non-existing man page $man\n"; $errors++; } } diff --git a/tests/pathhelp.pm b/tests/pathhelp.pm index 10a87aaf9..bd91c91bf 100644 --- a/tests/pathhelp.pm +++ b/tests/pathhelp.pm @@ -451,7 +451,7 @@ sub build_sys_abs_path { return $path; } elsif(should_use_cygpath()) { - # 'cygpath' is avalable - use it. + # 'cygpath' is available - use it. my $has_final_slash = ($path =~ m{[\\/]$}); diff --git a/tests/server/CMakeLists.txt b/tests/server/CMakeLists.txt index cfc1434cd..73841027b 100644 --- a/tests/server/CMakeLists.txt +++ b/tests/server/CMakeLists.txt @@ -20,7 +20,7 @@ function(SETUP_EXECUTABLE TEST_NAME) # ARGN are the files in the test target_link_libraries(${TEST_NAME} ${CURL_LIBS}) # Test servers simply are standalone programs that do not use libcurl - # library. For convinience and to ease portability of these servers, + # library. For convenience and to ease portability of these servers, # some source code files from the libcurl subdirectory are also used # to build the servers. In order to achieve proper linkage of these # files on Win32 targets it is necessary to build the test servers diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index ceb04d8e8..40f5bdb48 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -1050,7 +1050,7 @@ static bool juggle(curl_socket_t *sockfdp, Commands: - DATA - plain pass-thru data + DATA - plain pass-through data */ if(!read_stdin(buffer, 5)) diff --git a/tests/server/sws.c b/tests/server/sws.c index 1d47375ad..10a87746b 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -1347,7 +1347,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port) serverfd = socket(socket_domain, SOCK_STREAM, 0); if(CURL_SOCKET_BAD == serverfd) { error = SOCKERRNO; - logmsg("Error creating socket for server conection: (%d) %s", + logmsg("Error creating socket for server connection: (%d) %s", error, strerror(error)); return CURL_SOCKET_BAD; } @@ -1358,7 +1358,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port) curl_socklen_t flag = 1; if(0 != setsockopt(serverfd, IPPROTO_TCP, TCP_NODELAY, (void *)&flag, sizeof(flag))) - logmsg("====> TCP_NODELAY for server conection failed"); + logmsg("====> TCP_NODELAY for server connection failed"); } #endif @@ -1423,7 +1423,7 @@ static curl_socket_t connect_to(const char *ipaddr, unsigned short port) * either end. * * When doing FTP through a CONNECT proxy, we expect that the data connection - * will be setup while the first connect is still being kept up. Therefor we + * will be setup while the first connect is still being kept up. Therefore we * must accept a new connection and deal with it appropriately. */ @@ -1567,7 +1567,7 @@ static void http_connect(curl_socket_t *infdp, curl_socklen_t flag = 1; if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY, (void *)&flag, sizeof(flag))) - logmsg("====> TCP_NODELAY for client DATA conection failed"); + logmsg("====> TCP_NODELAY for client DATA connection failed"); } #endif req2.pipelining = FALSE; -- cgit v1.2.3