Hi Peter, Of course you can't know this; but I don't have much time to produce "really great parches". You're right, it would require me more work, spending much more time reading libssh2 code, etc, etc and unfortunately, I can't at this moment. On the other hand, I could also just do nothing at all to help. But well, after all; maybe my suggestion to make the publickeyfile parameter optional is not interesting at all.
JL -----Message d'origine----- De : Peter Stuge [mailto:pe...@stuge.se] Envoyé : vendredi 27 mars 2009 17:23 À : libssh2-devel@lists.sourceforge.net Objet : Re: RE : RE : For the interested ones :libssh2_userauth_publickey_fromfileandlibssh2_userauth_hostbased_fromfile with no need of the publickeyfile Hi Jean-Louis, Jean-Louis CHARTON wrote: > How can I know for example that the libssh2_session_free() or other > libssh2_session_xxxx functions will not in fact do a free on the > session fields that are non NULL pointers? You can find out. Much quicker than waiting for a reply. :) > Remember, that I'm new to libssh2. Please don't hide behind that. If you want to produce really great patches you can - even without talking to any other developers - but I agree that there is more work to it than just typing the code. In this case, maybe a grep for free or the struct name is all you need. Simply put: Use the source. :) //Peter ------------------------------------------------------------------------------ _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel ------------------------------------------------------------------------------ _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel