summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-12-23 01:46:27 +0300
committerAndrei Karas <akaras@inbox.ru>2011-12-23 01:46:27 +0300
commit7cff9f7777dcfdaae8cc7b982740131d80ba75c1 (patch)
treefd8ca1c73df99abb881f4b8fed595a367d6652be /src/net
parenta901facc32f489dbce6f9193f618d9d46a91f32c (diff)
downloadmanaverse-7cff9f7777dcfdaae8cc7b982740131d80ba75c1.tar.gz
manaverse-7cff9f7777dcfdaae8cc7b982740131d80ba75c1.tar.bz2
manaverse-7cff9f7777dcfdaae8cc7b982740131d80ba75c1.tar.xz
manaverse-7cff9f7777dcfdaae8cc7b982740131d80ba75c1.zip
Fix code style and some auto checked errors.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/download.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp
index 5141c022e..21881471b 100644
--- a/src/net/download.cpp
+++ b/src/net/download.cpp
@@ -180,7 +180,6 @@ int Download::downloadProgress(void *clientp, double dltotal, double dlnow,
return d->mUpdateFunction(d->mPtr, DOWNLOAD_STATUS_CANCELLED,
static_cast<size_t>(dltotal),
static_cast<size_t>(dlnow));
- return -5;
}
return d->mUpdateFunction(d->mPtr, DOWNLOAD_STATUS_IDLE,