diff options
Diffstat (limited to 'Swiften/StreamStack')
-rw-r--r-- | Swiften/StreamStack/XMPPLayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/StreamStack/XMPPLayer.cpp b/Swiften/StreamStack/XMPPLayer.cpp index 1de3a2a..1dcd84f 100644 --- a/Swiften/StreamStack/XMPPLayer.cpp +++ b/Swiften/StreamStack/XMPPLayer.cpp @@ -37,7 +37,7 @@ void XMPPLayer::writeFooter() { } void XMPPLayer::writeElement(boost::shared_ptr<Element> element) { - writeDataInternal(createSafeByteArray(xmppSerializer_->serializeElement(element))); + writeDataInternal(xmppSerializer_->serializeElement(element)); } void XMPPLayer::writeData(const std::string& data) { |