Ticket #10972: ftp_proxy_custom.patch

File ftp_proxy_custom.patch, 631 bytes (added by Paolo Zambotti, 8 years ago)

custom ftp proxy string token-ization separators patch

  • src/engine/ftpcontrolsocket.cpp

     
    598598        fz::replace_substrings(account, _T("%"), _T("%%"));
    599599
    600600        std::wstring const loginSequence = engine_.GetOptions().GetOption(OPTION_FTP_PROXY_CUSTOMLOGINSEQUENCE).ToStdWstring();
    601         std::vector<std::wstring> const tokens = fz::strtok(loginSequence, L" \r\t\n");
     601        std::vector<std::wstring> const tokens = fz::strtok(loginSequence, L"\r\n");
    602602
    603603        for (auto token : tokens) {
    604604            bool isHost = false;