diff options
Diffstat (limited to 'Swiften/Parser/AuthResponseParser.cpp')
| -rw-r--r-- | Swiften/Parser/AuthResponseParser.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/Swiften/Parser/AuthResponseParser.cpp b/Swiften/Parser/AuthResponseParser.cpp index 0db6a2a..7f9a530 100644 --- a/Swiften/Parser/AuthResponseParser.cpp +++ b/Swiften/Parser/AuthResponseParser.cpp @@ -4,8 +4,8 @@   * See Documentation/Licenses/GPLv3.txt for more information.   */ -#include "Swiften/Parser/AuthResponseParser.h" -#include "Swiften/StringCodecs/Base64.h" +#include <Swiften/Parser/AuthResponseParser.h> +#include <Swiften/StringCodecs/Base64.h>  namespace Swift { @@ -19,7 +19,7 @@ void AuthResponseParser::handleStartElement(const std::string&, const std::strin  void AuthResponseParser::handleEndElement(const std::string&, const std::string&) {  	--depth;  	if (depth == 0) { -		getElementGeneric()->setValue(Base64::decode(text)); +		getElementGeneric()->setValue(createSafeByteArray(Base64::decode(text)));  	}  } | 
 Swift
 Swift