1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-01-27 00:18:12 +03:00

tidy-up: fix typos found by typos-cli 1.36.2

Closes #1654
This commit is contained in:
Viktor Szakats
2025-09-13 22:30:34 +02:00
parent 4cb8398fa7
commit c3e6dbd469
5 changed files with 9 additions and 9 deletions

View File

@@ -328,7 +328,7 @@ cleanup:
}
#define RECV_SEND_ALL(func, agent, buffer, length, total) \
DWORD bytes_transfered; \
DWORD bytes_transferred; \
BOOL ret; \
DWORD err; \
int rc; \
@@ -336,13 +336,13 @@ cleanup:
while(*total < length) { \
if(!agent->pending_io) \
ret = func(agent->pipe, (char *)buffer + *total, \
(DWORD)(length - *total), &bytes_transfered, \
(DWORD)(length - *total), &bytes_transferred, \
&agent->overlapped); \
else \
ret = GetOverlappedResult(agent->pipe, &agent->overlapped, \
&bytes_transfered, FALSE); \
&bytes_transferred, FALSE); \
\
*total += bytes_transfered; \
*total += bytes_transferred; \
if(!ret) { \
err = GetLastError(); \
if((!agent->pending_io && ERROR_IO_PENDING == err) \

View File

@@ -41,7 +41,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
/* Conveniance-macros to allow code like this;
/* Convenience-macros to allow code like this;
int rc = BLOCK_ADJUST(rc, session, session_startup(session, sock));