summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/PayloadParsers/StreamInitiationParser.cpp')
-rw-r--r--Swiften/Parser/PayloadParsers/StreamInitiationParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Parser/PayloadParsers/StreamInitiationParser.cpp b/Swiften/Parser/PayloadParsers/StreamInitiationParser.cpp
index 6e1082c..bf36321 100644
--- a/Swiften/Parser/PayloadParsers/StreamInitiationParser.cpp
+++ b/Swiften/Parser/PayloadParsers/StreamInitiationParser.cpp
@@ -36,7 +36,7 @@ void StreamInitiationParser::handleStartElement(const String& element, const Str
else if (level == PayloadLevel) {
if (element == "file") {
inFile = true;
- currentFile = StreamInitiation::FileInfo();
+ currentFile = StreamInitiationFileInfo();
currentFile.name = attributes.getAttribute("name");
try {
currentFile.size = boost::lexical_cast<int>(attributes.getAttribute("size"));