Kaydet (Commit) fcbd9a5c authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Revert "Conditionalize call of ne_debug_init() using the SAL_INFO() mechanism"

It won't work, ne_debug_init() will be called always (in non-release builds).

This reverts commit b6f6c3a2.
üst ebebb309
......@@ -695,20 +695,20 @@ void NeonSession::Init()
// #122205# - libxml2 needs to be initialized once if used by
// multithreaded programs like OOo.
xmlInitParser();
#if OSL_DEBUG_LEVEL > 0
// for more debug flags see ne_utils.h; NE_DEBUGGING must be defined
// while compiling neon in order to actually activate neon debug
// output.
SAL_INFO("ucb.ucp.webdav", "Turning on Neon debug output (if enabled when building Neon)" <<
(ne_debug_init( stderr, NE_DBG_FLUSH
| NE_DBG_HTTP
// | NE_DBG_HTTPBODY
// | NE_DBG_HTTPAUTH
// | NE_DBG_XML
// | NE_DBG_XMLPARSE
| NE_DBG_LOCKS
| NE_DBG_SSL
), ""));
ne_debug_init( stderr, NE_DBG_FLUSH
| NE_DBG_HTTP
// | NE_DBG_HTTPBODY
// | NE_DBG_HTTPAUTH
// | NE_DBG_XML
// | NE_DBG_XMLPARSE
| NE_DBG_LOCKS
| NE_DBG_SSL
);
#endif
m_bGlobalsInited = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment