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
This commit is contained in:
Robin Dunn
1998-11-25 08:13:00 +00:00
parent ba4e365239
commit 1f01991fad

View File

@@ -52,7 +52,7 @@ wxHTTP::wxHTTP()
wxHTTP::~wxHTTP() wxHTTP::~wxHTTP()
{ {
// wxString isn't a wxObject // wxString isn't a wxObject
wxNode *node = m_headers.First(); wxNode *node = m_headers.First();
wxString *string; wxString *string;
while (node) { while (node) {
@@ -101,7 +101,7 @@ void wxHTTP::SendHeaders()
wxString *str = (wxString *)head->Data(); wxString *str = (wxString *)head->Data();
char buf[100]; 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)); Write(buf, strlen(buf));
head = head->Next(); head = head->Next();