Ticket #11005: proxy_user.patch

File proxy_user.patch, 424 bytes (added by Tommy Wu, 8 years ago)
  • src/engine/proxy.cpp

    old new  
    682682
    683683std::wstring CProxySocket::GetUser() const
    684684{
    685     return fz::to_wstring(m_user);
     685    return fz::to_wstring_from_utf8(m_user);
    686686}
    687687
    688688std::wstring CProxySocket::GetPass() const
    689689{
    690     return fz::to_wstring(m_pass);
     690    return fz::to_wstring_from_utf8(m_pass);
    691691}