summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-05 21:52:45 +0200
committermadmaxoft <github@xoft.cz>2013-10-05 21:52:45 +0200
commit20d07a683f589753f311302580ba0fa9e2ca2c4e (patch)
tree145d10aa1b2d40152496e09b1918c28805c31ff7
parentcHTTPConnection sends Content-Length with HTTP errors, too. (diff)
downloadcuberite-20d07a683f589753f311302580ba0fa9e2ca2c4e.tar
cuberite-20d07a683f589753f311302580ba0fa9e2ca2c4e.tar.gz
cuberite-20d07a683f589753f311302580ba0fa9e2ca2c4e.tar.bz2
cuberite-20d07a683f589753f311302580ba0fa9e2ca2c4e.tar.lz
cuberite-20d07a683f589753f311302580ba0fa9e2ca2c4e.tar.xz
cuberite-20d07a683f589753f311302580ba0fa9e2ca2c4e.tar.zst
cuberite-20d07a683f589753f311302580ba0fa9e2ca2c4e.zip
Diffstat (limited to '')
-rw-r--r--source/StringUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/StringUtils.cpp b/source/StringUtils.cpp
index 530eda086..d52b1323f 100644
--- a/source/StringUtils.cpp
+++ b/source/StringUtils.cpp
@@ -804,7 +804,7 @@ AString Base64Decode(const AString & a_Base64String)
{
// Error while decoding, invalid input. Return as much as we've decoded:
res.resize(o >> 3);
- return ERROR_SUCCESS;
+ return res;
}
}
res.resize(o >> 3);