From: Robin Dunn Date: Wed, 25 Nov 1998 08:13:00 +0000 (+0000) Subject: Fixed an issue related to the new wxList. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1f01991fade3cea8a2caeea87df2afe654592616?hp=ba4e3652396d65c02db462c960986f6b039290aa Fixed an issue related to the new wxList. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/http.cpp b/src/common/http.cpp index dd848b7a05..c23a400894 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -52,7 +52,7 @@ wxHTTP::wxHTTP() wxHTTP::~wxHTTP() { // wxString isn't a wxObject - wxNode *node = m_headers.First(); + wxNode *node = m_headers.First(); wxString *string; while (node) { @@ -101,7 +101,7 @@ void wxHTTP::SendHeaders() wxString *str = (wxString *)head->Data(); char buf[100]; - sprintf(buf, "%s: %s\n\r", head->key.string, str->GetData()); + sprintf(buf, "%s: %s\n\r", head->GetKeyString()/*key.string*/, str->GetData()); Write(buf, strlen(buf)); head = head->Next();