summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Common.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-01-18 11:28:11 +0000
committerRobert Pösel <robyer@seznam.cz>2014-01-18 11:28:11 +0000
commit6c3ade3e7558cd2f2b4dc7f9fd85a322e18842dc (patch)
tree8b9e486d0d8c3a0dd504158fa8a2930b4dbeed50 /plugins/PluginUpdater/src/Common.h
parente4c3968458eeb254d5877f10b3ea81743e06bd98 (diff)
PluginUpdater: try to download file once more if there is some error
git-svn-id: http://svn.miranda-ng.org/main/trunk@7712 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Common.h')
-rw-r--r--plugins/PluginUpdater/src/Common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Common.h b/plugins/PluginUpdater/src/Common.h
index 4b3a8c570e..fe55e8fafd 100644
--- a/plugins/PluginUpdater/src/Common.h
+++ b/plugins/PluginUpdater/src/Common.h
@@ -110,6 +110,8 @@ struct PlugOptions
#define DEFAULT_UPDATE_URL_TRUNK "http://miranda-ng.org/distr/x%platform%"
#define DEFAULT_UPDATE_URL_TRUNK_SYMBOLS "http://miranda-ng.now.im/pdb_x%platform%/"
+#define MAX_RETRIES 2
+
#define IDINFO 3
#define IDDOWNLOAD 4
#define IDDOWNLOADALL 5