Commit 12c47f1a authored by Harald Klein's avatar Harald Klein

change return value to XML_SUCCESS

parent 64b345a7
......@@ -76,7 +76,7 @@ bool AgoDmx::loadChannels(std::string filename, Json::Value& _channelMap) {
AGO_INFO() << "trying to open channel file: " << filename;
returncode = channelsFile.LoadFile(filename.c_str());
if (returncode != XML_NO_ERROR) {
if (returncode != XML_SUCCESS) {
AGO_ERROR() << "error loading XML file, code: " << returncode;
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment