From: Vadim Zeitlin Date: Sat, 28 Jun 2003 23:40:29 +0000 (+0000) Subject: fix for comparison bug in GetHeader() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/66feaf3bbf2b8a065f472943899f844891d7301e fix for comparison bug in GetHeader() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/http.cpp b/src/common/http.cpp index 07076be381..b82b4a3d7b 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -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;