summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2012-03-20 18:14:23 (GMT)
committerTobias Markmann <tm@ayena.de>2012-11-11 16:38:01 (GMT)
commit40150b034eca3a5b73cb9530366840cc4386a72c (patch)
tree6b4820681e2b7a650783f5fba9764a1fe541e0e4 /Swiften/Parser/PayloadParsers/VCardParser.cpp
parent6af3eb5576ae8475bcb1d545a563dcf059f9366f (diff)
downloadswift-contrib-40150b034eca3a5b73cb9530366840cc4386a72c.zip
swift-contrib-40150b034eca3a5b73cb9530366840cc4386a72c.tar.bz2
POBox -> poBox
Diffstat (limited to 'Swiften/Parser/PayloadParsers/VCardParser.cpp')
-rw-r--r--Swiften/Parser/PayloadParsers/VCardParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Parser/PayloadParsers/VCardParser.cpp b/Swiften/Parser/PayloadParsers/VCardParser.cpp
index 9640787..620a307 100644
--- a/Swiften/Parser/PayloadParsers/VCardParser.cpp
+++ b/Swiften/Parser/PayloadParsers/VCardParser.cpp
@@ -176,7 +176,7 @@ void VCardParser::handleEndElement(const std::string& element, const std::string
currentAddress_.isPreferred = true;
}
else if (elementHierarchy == "/vCard/ADR/POBOX") {
- currentAddress_.POBox = currentText_;
+ currentAddress_.poBox = currentText_;
}
else if (elementHierarchy == "/vCard/ADR/EXTADD") {
currentAddress_.addressExtension = currentText_;
@@ -197,7 +197,7 @@ void VCardParser::handleEndElement(const std::string& element, const std::string
currentAddress_.country = currentText_;
}
else if (elementHierarchy == "/vCard/ADR") {
- if (!currentAddress_.POBox.empty() || !currentAddress_.addressExtension.empty() ||
+ if (!currentAddress_.poBox.empty() || !currentAddress_.addressExtension.empty() ||
!currentAddress_.street.empty() || !currentAddress_.locality.empty() ||
!currentAddress_.region.empty() || !currentAddress_.region.empty() ||
!currentAddress_.postalCode.empty() || !currentAddress_.country.empty()) {