diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-05-29 15:34:20 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-05-29 15:34:20 +0000 |
commit | d8b7b2b660f81c3d78c64641e894666ac194495d (patch) | |
tree | 0b036fd9ded5f2b2e6004fc60d29046c19ee623f /plugins/PluginUpdater/src/DlgUpdate.cpp | |
parent | dcdc05c1287a9007301ecc7bfd3814f3270cc70b (diff) |
PluginUpdater:
- Fixed Apply button
- Added Logging
- Minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@9351 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/DlgUpdate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp index 9e8c2338e1..58da5f1263 100644 --- a/plugins/PluginUpdater/src/DlgUpdate.cpp +++ b/plugins/PluginUpdater/src/DlgUpdate.cpp @@ -83,7 +83,7 @@ static void ApplyUpdates(void *param) SetStringText(hwndList, i, TranslateT("Downloading..."));
FILEURL *pFileUrl = &todo[i].File;
- if (!DownloadFile(pFileUrl->tszDownloadURL, pFileUrl->tszDiskPath, pFileUrl->CRCsum, nlc)) {
+ if (!DownloadFile(pFileUrl, nlc)) {
SetStringText(hwndList, i, TranslateT("Failed!"));
// interrupt update as we require all components to be updated
@@ -369,7 +369,7 @@ static void DlgUpdateSilent(void *lParam) // download update
FILEURL *pFileUrl = &UpdateFiles[i].File;
- if (!DownloadFile(pFileUrl->tszDownloadURL, pFileUrl->tszDiskPath, pFileUrl->CRCsum, nlc)) {
+ if (!DownloadFile(pFileUrl, nlc)) {
// interrupt update as we require all components to be updated
error = true;
break;
|