MCPcopy Create free account
hub / github.com/amule-project/amule / Update

Method Update

src/IPFilter.cpp:476–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474
475
476void CIPFilter::Update(const wxString& strURL)
477{
478 if (!strURL.IsEmpty()) {
479 m_URL = strURL;
480
481 wxString filename = thePrefs::GetConfigDir() + "ipfilter.download";
482 wxString oldfilename = thePrefs::GetConfigDir() + "ipfilter.dat";
483 CHTTPDownloadThread *downloader = new CHTTPDownloadThread(m_URL, filename, oldfilename, HTTP_IPFilter, true, true);
484
485 downloader->Create();
486 downloader->Run();
487 }
488}
489
490
491void CIPFilter::DownloadFinished(uint32 result)

Callers 3

IPFilter_UpdateFunction · 0.45

Calls 4

GetConfigDirFunction · 0.85
RunMethod · 0.80
IsEmptyMethod · 0.45
CreateMethod · 0.45

Tested by

no test coverage detected