diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-05-26 08:26:20 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-26 08:28:38 +0200 |
commit | d23cc224e6d25eec99a988f4db18c040bde3e97b (patch) | |
tree | 5ea8c47ef7862a636c0cc2b7bd98f9d0c5ffdb05 /lib/vssh | |
parent | ad829b21ae9e0f11a821a0a98a1aaab161efa9a2 (diff) | |
download | curl-d23cc224e6d25eec99a988f4db18c040bde3e97b.tar.gz |
cleanup: use a single space after equals sign in assignments
Diffstat (limited to 'lib/vssh')
-rw-r--r-- | lib/vssh/libssh2.c | 2 | ||||
-rw-r--r-- | lib/vssh/wolfssh.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/vssh/libssh2.c b/lib/vssh/libssh2.c index 3136e4471..0b73e6325 100644 --- a/lib/vssh/libssh2.c +++ b/lib/vssh/libssh2.c @@ -2599,7 +2599,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block) /* download data */ bytecount = (curl_off_t)sb.st_size; - data->req.maxdownload = (curl_off_t)sb.st_size; + data->req.maxdownload = (curl_off_t)sb.st_size; Curl_setup_transfer(data, FIRSTSOCKET, bytecount, FALSE, -1); /* not set by Curl_setup_transfer to preserve keepon bits */ diff --git a/lib/vssh/wolfssh.c b/lib/vssh/wolfssh.c index 363a52c77..dcbbab6c3 100644 --- a/lib/vssh/wolfssh.c +++ b/lib/vssh/wolfssh.c @@ -241,8 +241,8 @@ static ssize_t wsftp_send(struct connectdata *conn, int sockindex, int rc; (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_SendWritePacket(sshc->ssh_session, sshc->handle, sshc->handleSz, @@ -284,8 +284,8 @@ static ssize_t wsftp_recv(struct connectdata *conn, 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, |