From da42a8a36b5ec6726fc66983ffed2eece92dcab9 Mon Sep 17 00:00:00 2001 From: horchi Date: Wed, 13 Jul 2016 10:49:06 +0200 Subject: [PATCH] minor change: removed LFs from log messages --- tvsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tvsp.c b/tvsp.c index 5181ecb..adce2a4 100644 --- a/tvsp.c +++ b/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; }