Hello, Now I have modified the function to call _libssh2_error(), converted tabs to spaces (hopefully none have remained) and reverted the changes in comp.c. I have also added a few important lines into the doc. file to ensure that the function will be used properly when "asked" for compression methods.
There are two files attached. The first is (should be) the same as in previous post, the second is relative to it. Maybe this could be done better but I am not very familiar with Git :( Regards, Jernej On Mon, Oct 24, 2011 at 12:34 PM, Alexander Lamaison <sw...@lammy.co.uk> wrote: > On 23 October 2011 11:57, Jernej Kovacic <jkova...@gmail.com> wrote: >> >> I have finally updated the patch which you can find attached. > > Thanks Jernej. I have a few observations about this versions: > > - The changes to _libssh2_comp_methods aren't necessary now as a > session is always used. > - The patch introduces tabs as indentation. These should be spaces. > - Any API function that returns an error must call _libssh2_error to > set the session's error state. > > Alex > > -- > Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org) > _______________________________________________ > libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel >
0001-Added-libssh2_session_supported_algs-3.patch
Description: Binary data
0002-_libssh2_error-tabs-etc.patch
Description: Binary data
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel