summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-05 17:23:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-06 13:06:50 +0300
commit05cec243c28f50bd5ee7a167067501f7bd8db3ff (patch)
treeb3b4e97b873ebf5e082ee1092a4c33a1ebdd72b8 /src/commands.cpp
parent25bed1bb7f7dbfa3caa0f239c63dbabd3b0bd50d (diff)
downloadmv-05cec243c28f50bd5ee7a167067501f7bd8db3ff.tar.gz
mv-05cec243c28f50bd5ee7a167067501f7bd8db3ff.tar.bz2
mv-05cec243c28f50bd5ee7a167067501f7bd8db3ff.tar.xz
mv-05cec243c28f50bd5ee7a167067501f7bd8db3ff.zip
Validate xml downloads, and if failed, use another mirror.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index aeb1f3f53..508c78e4e 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1338,7 +1338,7 @@ static void uploadFile(const std::string &str,
Net::Download *const upload = new Net::Download(info,
"http://sprunge.us",
&uploadUpdate,
- false, true);
+ false, true, false);
info->upload = upload;
info->text = str;
info->addStr = addStr;