From 20d07a683f589753f311302580ba0fa9e2ca2c4e Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Sat, 5 Oct 2013 21:52:45 +0200 Subject: [PATCH] Fixed Base64Decode() returning wrong value. --- source/StringUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);