mirror of
https://github.com/chriszero/epgd-plugin-tvsp.git
synced 2025-12-26 23:26:53 +01:00
minor change: removed LFs from log messages
This commit is contained in:
4
tvsp.c
4
tvsp.c
@@ -582,12 +582,12 @@ int Tvsp::jsonToXml(const std::string &jsonDoc, std::string &xmlDoc) {
|
||||
root = json_loads(jsonDoc.c_str(), 0, &error);
|
||||
|
||||
if (!root) {
|
||||
tell(1, "error: on line %d: %s\n", error.line, error.text);
|
||||
tell(1, "error: on line %d: %s", error.line, error.text);
|
||||
return fail;
|
||||
}
|
||||
|
||||
if (!json_is_array(root)) {
|
||||
tell(1, "error: root is not an object\n");
|
||||
tell(1, "error: root is not an object");
|
||||
return fail;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user