On Thu, 2 Aug 2012, Joe Mason wrote:

If the problem still exists with a recent libcurl, can you then please try to help us provide a recipe to repeat the problem? It looks like 'sshc->sftp_session' suddenly has turned into NULL and that's certainly a lethal problem there.

In the source code I'm looking at (about a week old) it passes sshc->ssh_session instead of sftp_session. It's definitely sounding like that's the problem.

Nah, it was just me who mistyped. sshc->ssh_session should be passed in to libssh2_session_last_error() and it should never be NULL when done so. I don't think the problem is that obvious since this tends to work for most people...

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to