hi, On Tue, Dec 28, 2010 at 11:53 PM, S.Gopi <[email protected]> wrote:
> I got libcurl to work for http and https but I am seeing strange problem > whenever I call libcurl to download files using SCP protocol, they abruptly > exit the whole program (Seg fault). Do you have a small code to reproduce the problem please? > This is what happens: > In scp_recv function in ssh.c, libssh2_channel_read function is called > which returns ERROR_EAGAIN which is stored in variable 'nread'. This > variable nread is declared ssize_t (typedef __int64 for Windows 64 in > config-win32.h). Both __int64 and int sound wrong to me. At least with VC9, it should be SSIZE_T. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
