wxString buf;
buf.Printf(_T("%s: %s\n\r"), head->GetKeyString(), str->GetData());
- wxWX2MBbuf cbuf = buf.mb_str();
+ const wxWX2MBbuf cbuf = buf.mb_str();
Write(cbuf, strlen(cbuf));
head = head->Next();
{
char *tmp_buf;
char buf[HTTP_BSIZE];
- wxWX2MBbuf pathbuf = path.mb_str();
+ const wxWX2MBbuf pathbuf = path.mb_str();
switch (req) {
case wxHTTP_GET: