The jabber client engine default value for 'printxml' is now 'verbose'.
git-svn-id: http://voip.null.ro/svn/yate@4013 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
f8431f884c
commit
3769d428df
|
@ -50,5 +50,5 @@
|
|||
; Allowed values are boolean values or 'verbose' string
|
||||
; If verbose is specified, XML elements' children, attributes or text will be
|
||||
; shown on separate lines
|
||||
; Defaults to no
|
||||
;printxml=no
|
||||
; Defaults to verbose
|
||||
;printxml=verbose
|
||||
|
|
|
@ -748,7 +748,10 @@ void JBEngine::initialize(const NamedList& params)
|
|||
int lvl = params.getIntValue("debug_level",-1);
|
||||
if (lvl != -1)
|
||||
debugLevel(lvl);
|
||||
JBClientEngine* client = YOBJECT(JBClientEngine,this);
|
||||
String tmp = params.getValue("printxml");
|
||||
if (!tmp && client)
|
||||
tmp = "verbose";
|
||||
m_printXml = tmp.toBoolean() ? -1: ((tmp == "verbose") ? 1 : 0);
|
||||
|
||||
m_streamReadBuffer = fixValue(params,"stream_readbuffer",
|
||||
|
|
Loading…
Reference in New Issue