summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/DlgUpdate.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-08-02 15:07:20 +0000
committerRobert Pösel <robyer@seznam.cz>2013-08-02 15:07:20 +0000
commitf43cfc59f5a300a040b19d36f090e4f4816fcbb1 (patch)
tree321638b4185b22cc3cbaac479557dfa3f6308dfd /plugins/PluginUpdater/src/DlgUpdate.cpp
parent0d29ccd59beb6b7493aaa1a14ef7f6c40b5174df (diff)
PluginUpdater: one fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@5551 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index 8c2ff2bd45..197987898b 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -142,7 +142,7 @@ LBL_Exit:
opts.bForceRedownload = false;
db_unset(NULL, MODNAME, "ForceRedownload");
- db_set_b(NULL, MODNAME, "RestartCount", 2);
+ db_set_b(NULL, MODNAME, "RestartCount", 5);
CallFunctionAsync(RestartMe, 0);
goto LBL_Exit;
}
@@ -560,7 +560,7 @@ static void CheckUpdates(void *)
}
else CallFunctionAsync(LaunchDialog, UpdateFiles);
}
- InitTimer(success);
+ InitTimer(success ? 0 : 2);
hashes.destroy();
hCheckThread = NULL;