Ticket #1515: fix_serverpath_autodetect.diff

File fix_serverpath_autodetect.diff, 839 bytes (added by aggro80, 13 years ago)
  • src/engine/serverpath.cpp

    RCS file: /cvsroot/filezilla/FileZilla3/src/engine/serverpath.cpp,v
    retrieving revision 1.24
    diff -u -r1.24 serverpath.cpp
     
    8080                m_type = VMS;
    8181        }
    8282        else if (path.Length() >= 3 &&
    83             (path.c_str()[0] >= 'A' && path.c_str()[0] <= 'Z') || (path.c_str()[0] >= 'a' && path.c_str()[0] <= 'z') &&
     83            ((path.c_str()[0] >= 'A' && path.c_str()[0] <= 'Z') || (path.c_str()[0] >= 'a' && path.c_str()[0] <= 'z')) &&
    8484            path.c_str()[1] == ':' && (path.c_str()[2] == '\\' || path.c_str()[2] == '/'))
    8585                m_type = DOS;
    8686        else if (path.c_str()[0] == FTP_MVS_DOUBLE_QUOTE && path.Last() == FTP_MVS_DOUBLE_QUOTE)