Switch to unified view

a/libupnpp/control/cdircontent.cxx b/libupnpp/control/cdircontent.cxx
...
...
228
};
228
};
229
229
230
bool UPnPDirContent::parse(const std::string& input)
230
bool UPnPDirContent::parse(const std::string& input)
231
{
231
{
232
    UPnPDirParser parser(*this, input);
232
    UPnPDirParser parser(*this, input);
233
    return parser.Parse();
233
    bool ret = parser.Parse();
234
    if (ret == false) {
235
        LOGERR("UPnPDirContent::parse: parser failed: " <<
236
               parser.getLastErrorMessage() << " for:\n" << input << endl);
237
    }
238
    return ret;
234
}
239
}
235
240
236
static const string didl_header(
241
static const string didl_header(
237
    "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
242
    "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
238
    "<DIDL-Lite xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\""
243
    "<DIDL-Lite xmlns=\"urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/\""