[wget-notify] [bug #20348] CWD not issued on FTP reconnect

Micah Cowan INVALID.NOREPLY at gnu.org
Mon Jul 30 16:30:42 PDT 2007


Follow-up Comment #3, bug #20348 (project wget):

The patch provided is not the whole problem. In addition: 

http://www.mail-archive.com/wget@sunsite.dk/msg09707.html

<<
This is inverted in ftp.c:


     if (con->csock != -1)
        con->st &= ~DONE_CWD;
     else
        con->st |= DONE_CWD;


If not error, request cwd?
If error, cwd done?

It's backwards.  Changing != to == solves the bug.
Thanks!
Jason
>>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20348>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



More information about the wget-notify mailing list