fix for comparison bug in GetHeader()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
695578271d
commit
66feaf3bbf
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ void wxHTTP::SetHeader(const wxString& header, const wxString& h_data)
|
|||
wxNode *node = m_headers.Find(header);
|
||||
|
||||
if (!node)
|
||||
m_headers.Append(header, (wxObject *)(new wxString(h_data)));
|
||||
m_headers.Append(header.MakeUpper(), (wxObject *)(new wxString(h_data)));
|
||||
else {
|
||||
wxString *str = (wxString *)node->GetData();
|
||||
(*str) = h_data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue