mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:03:32 +03:00
code: fix typos and style in comments
A few random typos, and minor whitespace cleanups, found in comments while reading code. Closes #1423
This commit is contained in:
parent
c25aba1254
commit
aaa7e05c78
3 changed files with 9 additions and 9 deletions
|
|
@ -179,7 +179,7 @@ curl_wcsdup_callback Curl_cwcsdup = (curl_wcsdup_callback)_wcsdup;
|
|||
#endif
|
||||
#else
|
||||
/*
|
||||
* Symbian OS doesn't support initialization to code in writeable static data.
|
||||
* Symbian OS doesn't support initialization to code in writable static data.
|
||||
* Initialization will occur in the curl_global_init() call.
|
||||
*/
|
||||
curl_malloc_callback Curl_cmalloc;
|
||||
|
|
|
|||
|
|
@ -872,7 +872,7 @@ static CURLcode check_telnet_options(struct connectdata *conn)
|
|||
continue;
|
||||
}
|
||||
|
||||
/* Window Size */
|
||||
/* Window Size */
|
||||
if(strcasecompare(option_keyword, "WS")) {
|
||||
if(sscanf(option_arg, "%hu%*[xX]%hu",
|
||||
&tn->subopt_wsx, &tn->subopt_wsy) == 2)
|
||||
|
|
@ -1014,7 +1014,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 endien processors */
|
||||
/* We must deal either with litte or big endian processors */
|
||||
/* Window size must be sent according to the 'network order' */
|
||||
x=htons(tn->subopt_wsx);
|
||||
y=htons(tn->subopt_wsy);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue