mirror of
https://github.com/curl/curl.git
synced 2026-07-24 08:47:50 +03:00
lib/src: white space edits to comply better with code style
... as checksrc now finds and complains about these. Closes #14921
This commit is contained in:
parent
a57b45c386
commit
fbf5d507ce
128 changed files with 854 additions and 837 deletions
|
|
@ -256,8 +256,8 @@ static ssize_t wsftp_send(struct Curl_easy *data, int sockindex,
|
|||
(void)sockindex;
|
||||
(void)eos;
|
||||
|
||||
offset[0] = (word32)sshc->offset&0xFFFFFFFF;
|
||||
offset[1] = (word32)(sshc->offset>>32)&0xFFFFFFFF;
|
||||
offset[0] = (word32)sshc->offset & 0xFFFFFFFF;
|
||||
offset[1] = (word32)(sshc->offset >> 32) & 0xFFFFFFFF;
|
||||
|
||||
rc = wolfSSH_SFTP_SendWritePacket(sshc->ssh_session, sshc->handle,
|
||||
sshc->handleSz,
|
||||
|
|
@ -300,8 +300,8 @@ static ssize_t wsftp_recv(struct Curl_easy *data, int sockindex,
|
|||
word32 offset[2];
|
||||
(void)sockindex;
|
||||
|
||||
offset[0] = (word32)sshc->offset&0xFFFFFFFF;
|
||||
offset[1] = (word32)(sshc->offset>>32)&0xFFFFFFFF;
|
||||
offset[0] = (word32)sshc->offset & 0xFFFFFFFF;
|
||||
offset[1] = (word32)(sshc->offset >> 32) & 0xFFFFFFFF;
|
||||
|
||||
rc = wolfSSH_SFTP_SendReadPacket(sshc->ssh_session, sshc->handle,
|
||||
sshc->handleSz,
|
||||
|
|
@ -763,7 +763,7 @@ static CURLcode wssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
return CURLE_SSH;
|
||||
}
|
||||
|
||||
size = ((curl_off_t)attrs.sz[1] <<32) | attrs.sz[0];
|
||||
size = ((curl_off_t)attrs.sz[1] << 32) | attrs.sz[0];
|
||||
|
||||
data->req.size = size;
|
||||
data->req.maxdownload = size;
|
||||
|
|
@ -1028,7 +1028,7 @@ static CURLcode wssh_block_statemach(struct Curl_easy *data,
|
|||
|
||||
/* wait for the socket to become ready */
|
||||
(void)Curl_socket_check(fd_read, CURL_SOCKET_BAD, fd_write,
|
||||
left>1000?1000:left); /* ignore result */
|
||||
left > 1000 ? 1000 : left); /* ignore result */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue