From d687000a81f7d0a0dc9957ee51050666540a31b6 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Tue, 2 Aug 2016 15:59:24 +0200 Subject: [PATCH] xmlrpc.c: indent --- coreapi/xmlrpc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coreapi/xmlrpc.c b/coreapi/xmlrpc.c index e32166588..636620ab9 100644 --- a/coreapi/xmlrpc.c +++ b/coreapi/xmlrpc.c @@ -88,6 +88,9 @@ static void format_request(LinphoneXmlRpcRequest *request) { return; } + /* autoindent so that logs are human-readable, as SIP sip on-purpose */ + xmlTextWriterSetIndent(writer, 1); + err = xmlTextWriterStartDocument(writer, "1.0", "UTF-8", NULL); if (err >= 0) { err = xmlTextWriterStartElement(writer, (const xmlChar *)"methodCall");