mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:43:31 +03:00
code: language cleanup in comments
Based on the standards and guidelines we use for our documentation. - expand contractions (they're => they are etc) - host name = > hostname - file name => filename - user name = username - man page => manpage - run-time => runtime - set-up => setup - back-end => backend - a HTTP => an HTTP - Two spaces after a period => one space after period Closes #14073
This commit is contained in:
parent
9b683577e1
commit
c074ba64a8
213 changed files with 1719 additions and 1715 deletions
|
|
@ -61,7 +61,7 @@ enum {
|
|||
FTP_STOR_PREQUOTE,
|
||||
FTP_POSTQUOTE,
|
||||
FTP_CWD, /* change dir */
|
||||
FTP_MKD, /* if the dir didn't exist */
|
||||
FTP_MKD, /* if the dir did not exist */
|
||||
FTP_MDTM, /* to figure out the datestamp */
|
||||
FTP_TYPE, /* to set type when doing a head-like request */
|
||||
FTP_LIST_TYPE, /* set type when about to do a dir list */
|
||||
|
|
@ -123,7 +123,7 @@ struct ftp_conn {
|
|||
char *account;
|
||||
char *alternative_to_user;
|
||||
char *entrypath; /* the PWD reply when we logged on */
|
||||
char *file; /* url-decoded file name (or path) */
|
||||
char *file; /* url-decoded filename (or path) */
|
||||
char **dirs; /* realloc()ed array for path components */
|
||||
char *newhost;
|
||||
char *prevpath; /* url-decoded conn->path from the previous transfer */
|
||||
|
|
@ -139,7 +139,7 @@ struct ftp_conn {
|
|||
int count1; /* general purpose counter for the state machine */
|
||||
int count2; /* general purpose counter for the state machine */
|
||||
int count3; /* general purpose counter for the state machine */
|
||||
/* newhost is the (allocated) IP addr or host name to connect the data
|
||||
/* newhost is the (allocated) IP addr or hostname to connect the data
|
||||
connection to */
|
||||
unsigned short newport;
|
||||
ftpstate state; /* always use ftp.c:state() to change state! */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue