wxURL url(right);
s = url.GetInputStream();
content = url.GetProtocol().GetContentType();
if (content == wxEmptyString) content = GetMimeTypeFromExt(location);
wxURL url(right);
s = url.GetInputStream();
content = url.GetProtocol().GetContentType();
if (content == wxEmptyString) content = GetMimeTypeFromExt(location);
info = new wxInetCacheNode(buf, content);
m_Cache.Put(right, info);
info = new wxInetCacheNode(buf, content);
m_Cache.Put(right, info);
- while ((n = m_Cache.Next()) != NULL) {
- n2 = (wxInetCacheNode*) n -> GetData();
- wxRemoveFile(n2 -> GetTemp());
+ while ((n = m_Cache.Next()) != NULL)
+ {
+ n2 = (wxInetCacheNode*) n->GetData();
+ wxRemoveFile(n2->GetTemp());