X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/886f61cacbdb3b31511f38c6ecd2f8617a131c7c..e0954e729dabaad5603d9970d123d6b96ed73463:/src/common/http.cpp diff --git a/src/common/http.cpp b/src/common/http.cpp index f5f73ea461..f8977ecedf 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -141,7 +141,7 @@ wxString wxHTTP::GenerateAuthString(const wxString& user, const wxString& pass) } else { buf << wxString::Format(wxT("%c%c"), base64[((from[0] << 4) & 0x30) | ((from[1] >> 4) & 0xf)], base64[(from[1] << 2) & 0x3c]); } - buf << wxString::Format(wxT("=")); + buf << wxT("="); } return buf; @@ -309,7 +309,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req) m_http_response = wxAtoi(tmp_str2); - switch (tmp_str2[0u]) + switch ( tmp_str2[0u].GetValue() ) { case wxT('1'): /* INFORMATION / SUCCESS */