update dev300-m58
[ooovba.git] / applied_patches / 0229-ucb-neon-0.24.diff
blobdd67a1a212cc6db9e35348186ca1ca6ad03b5353
1 --- ucb/source/ucp/webdav/NeonSession.cxx.old 2009-02-26 09:39:43.000000000 +0100
2 +++ ucb/source/ucp/webdav/NeonSession.cxx 2009-03-09 13:25:15.000000000 +0100
3 @@ -763,11 +763,13 @@ void NeonSession::Init()
4 // Note: Calling ne_set_[server|proxy]_auth more than once per
5 // m_pHttpSession instance sometimes(?) crashes Neon! ( last
6 // checked: 0.22.0)
7 - //ne_set_server_auth( m_pHttpSession, NeonSession_NeonAuth, this );
8 +#if NEON_VERSION >= 0x0260
9 ne_add_server_auth( m_pHttpSession, NE_AUTH_ALL, NeonSession_NeonAuth, this );
10 - //ne_set_proxy_auth ( m_pHttpSession, NeonSession_NeonAuth, this );
11 ne_add_proxy_auth ( m_pHttpSession, NE_AUTH_ALL, NeonSession_NeonAuth, this );
13 +#else
14 + ne_set_server_auth( m_pHttpSession, NeonSession_NeonAuth, this );
15 + ne_set_proxy_auth ( m_pHttpSession, NeonSession_NeonAuth, this );
16 +#endif