I've noticed an error in the code I've sent, In line 221, where I've
added a check for the socket creation.
Where I had this:
if (socket == -1)
I should have this:
if (sock == -1)
I attached a corrected version.
On Thu, May 17, 2012 at 4:31 PM, Paulo Caetano
> Here it goes, then (attached).
> Paulo Caetano
> On Thu, May 17, 2012 at 4:06 PM, Peter Stuge <peter_at_stuge.se> wrote:
>> Paulo Caetano wrote:
>>> The code is the same, I've just isolated the channel life cycle &
>>> command execution in a separate function, and added code to read a
>>> list of commands from a file and execute them sequentially.
>>> If you think this is useful/relevant to add to the examples, I'll
>>> gladly submit it.
>> You'll have to submit it before anyone can say if it is
>> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-05-23