mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
Closes: https://bugs.gentoo.org/923288 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
12 lines
527 B
Diff
12 lines
527 B
Diff
--- a/Swiften/Parser/LibXMLParser.cpp
|
|
+++ b/Swiften/Parser/LibXMLParser.cpp
|
|
@@ -97,7 +97,7 @@
|
|
if (xmlParseChunk(p->context_, data.c_str(), boost::numeric_cast<int>(data.size()), false) == XML_ERR_OK) {
|
|
return true;
|
|
}
|
|
- xmlError* error = xmlCtxtGetLastError(p->context_);
|
|
+ const xmlError* error = xmlCtxtGetLastError(p->context_);
|
|
if (error->code == XML_WAR_NS_URI || error->code == XML_WAR_NS_URI_RELATIVE) {
|
|
xmlCtxtResetLastError(p->context_);
|
|
p->context_->errNo = XML_ERR_OK;
|