summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-15 16:52:00 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-15 16:52:00 +0200
commitfcbd9a5c4b9ea2bcbb08dd86d164f0d075d6befb (patch)
tree39c0c73a67bef5e39c36f3c25ca15087ba72a4a9 /ucb
parentebebb309403498a9438a908a26248b05cc855879 (diff)
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 b6f6c3a2ed19cc34cce5d19c32c921227165bdd0.
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/webdav-neon/NeonSession.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx
index 6313a29681ed..81bb6ab9e4fd 100644
--- a/ucb/source/ucp/webdav-neon/NeonSession.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx
@@ -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;
}