On Wed, 7 May 2008, Liam Healy wrote:
Curl_GetFTPResponse (nreadp=0x7fffa69c79c8, conn=0x648eb0, ftpcode=0x0) at ftp.c:623 623 ftp.c: No such file or directory. in ftp.c (gdb) where #0 Curl_GetFTPResponse (nreadp=0x7fffa69c79c8, conn=0x648eb0, ftpcode=0x0) at ftp.c:623
Thanks, that made it painfully obvious! My suggested patch to fix this problem follows: diff -u -r1.470 ftp.c --- lib/ftp.c 28 Apr 2008 21:29:17 -0000 1.470 +++ lib/ftp.c 7 May 2008 20:48:10 -0000 @@ -622,9 +622,13 @@ struct timeval now = Curl_tvnow(); size_t nread; int cache_skip=0; + int value_to_be_ignored=0; if(ftpcode) *ftpcode = 0; /* 0 for errors */ + else + /* make the pointer point to something for the rest of this function */ + ftpcode = &value_to_be_ignored; *nreadp=0; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]