]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed an issue related to the new wxList.
authorRobin Dunn <robin@alldunn.com>
Wed, 25 Nov 1998 08:13:00 +0000 (08:13 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 25 Nov 1998 08:13:00 +0000 (08:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/http.cpp

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