summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Disco/CapsFileStorage.cpp')
-rw-r--r--Swiften/Disco/CapsFileStorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Disco/CapsFileStorage.cpp b/Swiften/Disco/CapsFileStorage.cpp
index 2334acf..1e53854 100644
--- a/Swiften/Disco/CapsFileStorage.cpp
+++ b/Swiften/Disco/CapsFileStorage.cpp
@@ -29,7 +29,7 @@ DiscoInfo::ref CapsFileStorage::getDiscoInfo(const std::string& hash) const {
DiscoInfoParser parser;
PayloadParserTester tester(&parser);
- tester.parse(std::string(data.getData(), data.getSize()));
+ tester.parse(data.toString());
return boost::dynamic_pointer_cast<DiscoInfo>(parser.getPayload());
}
else {