summaryrefslogtreecommitdiffstats
path: root/doc/command.dox
diff options
context:
space:
mode:
Diffstat (limited to 'doc/command.dox')
-rw-r--r--doc/command.dox2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/command.dox b/doc/command.dox
index 76113543..588151c6 100644
--- a/doc/command.dox
+++ b/doc/command.dox
@@ -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)