summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-04-11 20:15:20 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-18 19:11:42 (GMT)
commit92af1a97f318f7f623df3183e90e7e828fa2eeb9 (patch)
tree886d66feead5ca3c1d04152b570f7712be4a86c0 /Swiften/Parser/ExpatParser.cpp
parenteda3475756f88098de69d5bea05b328b53d7ec04 (diff)
downloadswift-contrib-92af1a97f318f7f623df3183e90e7e828fa2eeb9.zip
swift-contrib-92af1a97f318f7f623df3183e90e7e828fa2eeb9.tar.bz2
Make parser infrastructure parser aware.
Resolves: #492
Diffstat (limited to 'Swiften/Parser/ExpatParser.cpp')
-rw-r--r--Swiften/Parser/ExpatParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Parser/ExpatParser.cpp b/Swiften/Parser/ExpatParser.cpp
index 88be752..448b199 100644
--- a/Swiften/Parser/ExpatParser.cpp
+++ b/Swiften/Parser/ExpatParser.cpp
@@ -30,7 +30,7 @@ static void handleStartElement(void* client, const XML_Char* name, const XML_Cha
nsAttributePair.second = nsAttributePair.first;
nsAttributePair.first = "";
}
- attributeValues[nsAttributePair.second] = std::string(*(currentAttribute+1));
+ attributeValues.addAttribute(nsAttributePair.second, nsAttributePair.first, std::string(*(currentAttribute+1)));
currentAttribute += 2;
}