mirror of https://github.com/kiwix/libkiwix.git
Manager::readOpds() doesn't modify its input
This commit is contained in:
parent
9033f2f28e
commit
b54215f146
|
@ -124,7 +124,7 @@ bool Manager::readOpds(const std::string& content, const std::string& urlHost)
|
|||
{
|
||||
pugi::xml_document doc;
|
||||
pugi::xml_parse_result result
|
||||
= doc.load_buffer_inplace((void*)content.data(), content.size());
|
||||
= doc.load_buffer((void*)content.data(), content.size());
|
||||
|
||||
if (result) {
|
||||
this->parseOpdsDom(doc, urlHost);
|
||||
|
|
Loading…
Reference in New Issue