mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:43:34 +03:00
tidy-up: prefer "initialize" with a 'z'
To match the majority of usage in source. Closes #21618
This commit is contained in:
parent
3da249e1f0
commit
4780e509aa
28 changed files with 42 additions and 42 deletions
|
|
@ -1871,7 +1871,7 @@ static int myssh_in_TRANS_INIT(struct Curl_easy *data, struct ssh_conn *sshc,
|
|||
|
||||
static void sshc_cleanup(struct ssh_conn *sshc)
|
||||
{
|
||||
if(sshc->initialised) {
|
||||
if(sshc->initialized) {
|
||||
if(sshc->sftp_file) {
|
||||
sftp_close(sshc->sftp_file);
|
||||
sshc->sftp_file = NULL;
|
||||
|
|
@ -1921,7 +1921,7 @@ static void sshc_cleanup(struct ssh_conn *sshc)
|
|||
curlx_dyn_free(&sshc->readdir_buf);
|
||||
curlx_safefree(sshc->readdir_linkPath);
|
||||
SSH_STRING_FREE_CHAR(sshc->homedir);
|
||||
sshc->initialised = FALSE;
|
||||
sshc->initialized = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2566,7 +2566,7 @@ static CURLcode myssh_setup_connection(struct Curl_easy *data,
|
|||
return CURLE_OUT_OF_MEMORY;
|
||||
|
||||
curlx_dyn_init(&sshc->readdir_buf, CURL_PATH_MAX * 2);
|
||||
sshc->initialised = TRUE;
|
||||
sshc->initialized = TRUE;
|
||||
if(Curl_conn_meta_set(conn, CURL_META_SSH_CONN, sshc, myssh_conn_dtor))
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
||||
|
|
|
|||
|
|
@ -195,7 +195,7 @@ struct ssh_conn {
|
|||
const char *readdir_filename; /* points within readdir_attrs */
|
||||
const char *readdir_longentry;
|
||||
char *readdir_tmp;
|
||||
BIT(initialised);
|
||||
BIT(initialized);
|
||||
#elif defined(USE_LIBSSH2)
|
||||
LIBSSH2_SESSION *ssh_session; /* Secure Shell session */
|
||||
LIBSSH2_CHANNEL *ssh_channel; /* Secure Shell channel handle */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue