1
0

Fixed Base64Decode() returning wrong value.

This commit is contained in:
madmaxoft 2013-10-05 21:52:45 +02:00
parent 2b8bddbdc3
commit 20d07a683f

View File

@ -804,7 +804,7 @@ AString Base64Decode(const AString & a_Base64String)
{ {
// Error while decoding, invalid input. Return as much as we've decoded: // Error while decoding, invalid input. Return as much as we've decoded:
res.resize(o >> 3); res.resize(o >> 3);
return ERROR_SUCCESS; return res;
} }
} }
res.resize(o >> 3); res.resize(o >> 3);