]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
moved c-runtime functions for CW here, only add strdup for MSL versions prior to...
[wxWidgets.git] / src / common / http.cpp
index 07076be3819dcdcc4ff6d9f7abe85fc7c72f8d3a..346896925a02c0f46e99276aa203550a196446cb 100644 (file)
@@ -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.Upper(), (wxObject *)(new wxString(h_data)));
   else {
     wxString *str = (wxString *)node->GetData();
     (*str) = h_data;