[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in Documentation


Dear all,

 

There is a bug on one of the examples in the tutorial examples.

 

In  <http://api.libssh.org/master/command.html>
http://api.libssh.org/master/command.html

 

In the last -1 example the variable nbytes is declared as unsigned but
saccording to the documentation ssh_channel_read can return SSH_ERROR which
is declared as -1.

 

Cheers

 

José Rui


Archive administrator: postmaster@lists.cynapses.org