1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-01 11:26:52 +03:00

Documentation fix where unsigned is used where signed is expected

Signed-off-by: Jordy Moos <jordymoos@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jordy Moos
2015-06-12 15:16:43 +02:00
committed by Andreas Schneider
parent ef751a26d0
commit fa9fbb1d67
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ If an error has been encountered, it returns a negative value:
@code
char buffer[256];
unsigned int nbytes;
int nbytes;
nbytes = ssh_channel_read(channel, buffer, sizeof(buffer), 0);
while (nbytes > 0)