diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-03-18 16:58:23 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-03-18 17:15:56 +0100 |
commit | 7fddc27bd311d668904e5fc4e132331a28a74ad5 (patch) | |
tree | 142980b2097223aad2949e6e82949431470134a9 /ucb | |
parent | 7544a11670208ef38af7bf6b0104dedd4d19d545 (diff) |
incorrect NEON_VERSION usage
First of all, NEON_VERSION is undefined, and second, it's actually
a text string, so this is all broken.
Change-Id: Iba841c78e9034bf9ef74eb4f31c9893608180b77
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index 81bb6ab9e4fd..cad3157501bd 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -38,14 +38,10 @@ #include <ne_redirect.h> #include <ne_ssl.h> -#if NEON_VERSION < 0x0260 // old neon versions forgot to set this extern "C" { -#endif #include <ne_compress.h> -#if NEON_VERSION < 0x0260 } -#endif #include "libxml/parser.h" #include "rtl/ustrbuf.hxx" @@ -838,7 +834,7 @@ void NeonSession::Init() ne_redirect_register( m_pHttpSession ); // authentication callbacks. -#if NEON_VERSION >= 0x0260 +#if 1 ne_add_server_auth( m_pHttpSession, NE_AUTH_ALL, NeonSession_NeonAuth, this ); ne_add_proxy_auth ( m_pHttpSession, NE_AUTH_ALL, NeonSession_NeonAuth, this ); #else |