mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:03:35 +03:00
tidy-up: more whitespace/indent, comments
Also a couple of minor formatting updates in the root `CMakeLists.txt`. One swap to `#ifdef`. Closes #17929
This commit is contained in:
parent
63a8167f3e
commit
4d977fe552
82 changed files with 351 additions and 378 deletions
|
|
@ -3695,7 +3695,7 @@ static CURLcode scp_disconnect(struct Curl_easy *data,
|
|||
CURLcode result = CURLE_OK;
|
||||
struct ssh_conn *sshc = Curl_conn_meta_get(conn, CURL_META_SSH_CONN);
|
||||
struct SSHPROTO *sshp = Curl_meta_get(data, CURL_META_SSH_EASY);
|
||||
(void) dead_connection;
|
||||
(void)dead_connection;
|
||||
|
||||
if(sshc && sshc->ssh_session && sshp) {
|
||||
/* only if there is a session still around to use! */
|
||||
|
|
@ -3867,7 +3867,7 @@ static CURLcode sftp_disconnect(struct Curl_easy *data,
|
|||
CURLcode result = CURLE_OK;
|
||||
struct ssh_conn *sshc = Curl_conn_meta_get(conn, CURL_META_SSH_CONN);
|
||||
struct SSHPROTO *sshp = Curl_meta_get(data, CURL_META_SSH_EASY);
|
||||
(void) dead_connection;
|
||||
(void)dead_connection;
|
||||
|
||||
DEBUGF(infof(data, "SSH DISCONNECT starts now"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue