Ticket #4206: Ticket4206.patch

File Ticket4206.patch, 508 bytes (added by Nico, 15 years ago)

Patch for Ticket #4206

  • filezilla/src/engine/server.cpp

     
    202202    if (m_logonType != ASK && m_logonType != INTERACTIVE)
    203203    {
    204204        if (m_user == _T("") || m_user == _T("anonymous"))
    205             m_logonType = ANONYMOUS;
     205            if (m_pass == _T("")
     206                m_logonType = ANONYMOUS;
     207            else
     208                m_logonType = NORMAL;
    206209        else
    207210            m_logonType = NORMAL;
    208211    }