diff options
author | George Hazan <ghazan@miranda.im> | 2019-04-26 12:14:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-04-26 12:14:59 +0300 |
commit | 1f7b57e84a6513125b312ae5d2123c073d94c8b1 (patch) | |
tree | 0f19fe85f39041e9e18c7cf04d15e568fd7b6da9 /plugins/PluginUpdater/src/Services.cpp | |
parent | 9ed5ca563b554a6522e2d993b7a45959d5b2497b (diff) |
Plugin Updater:
- fixes #1927 (Hidden db option for hiding specified component from PU);
- options moved into g_plugin;
- warning & security fixes;
- code cleaning
Diffstat (limited to 'plugins/PluginUpdater/src/Services.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Services.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/PluginUpdater/src/Services.cpp b/plugins/PluginUpdater/src/Services.cpp index ab8c744c9f..2182c08817 100644 --- a/plugins/PluginUpdater/src/Services.cpp +++ b/plugins/PluginUpdater/src/Services.cpp @@ -28,7 +28,7 @@ static INT_PTR srvParseHashes(WPARAM wParam, LPARAM lParam) SERVLIST *pList = new SERVLIST(50, CompareHashes);
ptrW baseUrl;
- if ( ParseHashes(ptszUrl, baseUrl, *pList)) {
+ if (ParseHashes(ptszUrl, baseUrl, *pList)) {
wcsncpy(ptszBaseUrl, baseUrl, MAX_PATH);
return (INT_PTR)pList;
}
@@ -59,8 +59,8 @@ static INT_PTR srvGetNthHash(WPARAM wParam, LPARAM lParam) void InitServices()
{
- CreateServiceFunction(MS_PU_PARSEHASHES, srvParseHashes);
- CreateServiceFunction(MS_PU_FREEHASHES, srvFreeHashes);
+ CreateServiceFunction(MS_PU_PARSEHASHES, srvParseHashes);
+ CreateServiceFunction(MS_PU_FREEHASHES, srvFreeHashes);
CreateServiceFunction(MS_PU_GETHASHCOUNT, srvGetHashCount);
- CreateServiceFunction(MS_PU_GETNTHHASH, srvGetNthHash);
+ CreateServiceFunction(MS_PU_GETNTHHASH, srvGetNthHash);
}
\ No newline at end of file |