> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Daniel Stenberg
> Sent: Tuesday, May 04, 2010 5:03 PM
> To: libcurl development
> Subject: RE: Reflection for Secure IT Server
> 
> What do you mean "no luck" with that? Surely it produced some 
> kind of output? 
> If not, did you really build libssh2 with debug tracing enabled?

Poor me! Previously I got no output because I added libssh2_trace() into a 
wrong place:
===================================================
/* wrong usage */
      sshc->sftp_session = libssh2_sftp_init(sshc->ssh_session);
      ...
      libssh2_trace(sshc->sftp_session, ~0); //xq

/* correct usage */
  ssh->ssh_session = libssh2_session_init_ex(libssh2_malloc, libssh2_free,
                                             libssh2_realloc, conn);
  ...
  libssh2_trace(ssh->ssh_session, ~0); //xq
===================================================
You can see libssh2_sftp_init() was mistaken for libssh2_session_init(), :-(

I'll recompile it, and let you know the testing result.

Thanks,
Xu Qiang
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to