Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: Shared/PluginSettings.cpp

Issue 9422198: Exe updater support and bug fixes (Closed)
Patch Set: Created Feb. 28, 2013, 10:37 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Shared/PluginClassThread.cpp ('k') | Shared/PluginUserSettings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Shared/PluginSettings.cpp
===================================================================
--- a/Shared/PluginSettings.cpp
+++ b/Shared/PluginSettings.cpp
@@ -435,11 +435,16 @@
filename = downloadFilterName.Trim().Right(downloadFilterName.GetLength() - downloadFilterName.ReverseFind('/') - 1).Trim();
}
int version = it->second;
+
+ DEBUG_GENERAL("*** before FilterShouldLoad: " + downloadFilterName);
+
if ((this->FilterShouldLoad(downloadFilterName)))
{
filterAvailable = true;
+ DEBUG_GENERAL("*** before FilterlistExpired: " + downloadFilterName);
if (this->FilterlistExpired(downloadFilterName))
{
+ DEBUG_GENERAL("*** before DownloadFilterFile: " + downloadFilterName);
CPluginFilter::DownloadFilterFile(downloadFilterName, filename);
this->SetFilterRefreshDate(downloadFilterName, time(NULL) + (5 * 24 * 60 * 60) * ((rand() % 100) / 100 * 0.4 + 0.8));
}
« no previous file with comments | « Shared/PluginClassThread.cpp ('k') | Shared/PluginUserSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld