Peter, On Sat, Mar 17, 2012 at 10:44 AM, Peter Stuge <pe...@stuge.se> wrote: > Mitchell Hashimoto wrote: >> I really just copied the ssh2_exec.c example, which has all these >> same problems. I'll fix man > > Not only the man page, look at how the existing API works, and make > the new one for agent forwarding channels work the same.
Hm, I took a look at libssh2_channel_process_startup and I'm not quite sure I see the difference in what I'm doing vs what it is doing? What was the problem you saw? > > >> and perhaps in the future I'll send another patch to fix up >> ssh2_exec as well. > > That would be awesome! Meanwhile, suggest looking at other examples > for inspiration. tcpip-forward.c is fairly straight-forward, for > example. Thanks, will do. > > >> I'll address the things you pointed out. > > Great! Thanks! > > > //Peter > _______________________________________________ > libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel