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