diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-02-19 11:35:08 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-02-19 11:35:08 +0000 |
commit | e19e152f21414c9c912cb63ef554a6d954f40c91 (patch) | |
tree | 325010529ee59632b9a2d867fffe4a53dbaca49b /ucb | |
parent | 20463830d072c8c07b3636d87f3ca07961634f33 (diff) |
INTEGRATION: CWS cmcfixes42 (1.52.20); FILE MERGED
2008/02/15 10:51:05 cmc 1.52.20.1: #i86123# use hex prefix to avoid octal problem
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav/NeonSession.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ucb/source/ucp/webdav/NeonSession.cxx b/ucb/source/ucp/webdav/NeonSession.cxx index f4edc3dcadbf..ae9cb0c1f2a9 100644 --- a/ucb/source/ucp/webdav/NeonSession.cxx +++ b/ucb/source/ucp/webdav/NeonSession.cxx @@ -4,9 +4,9 @@ * * $RCSfile: NeonSession.cxx,v $ * - * $Revision: 1.52 $ + * $Revision: 1.53 $ * - * last change: $Author: kz $ $Date: 2007-12-12 15:34:02 $ + * last change: $Author: rt $ $Date: 2008-02-19 12:35:08 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -252,7 +252,7 @@ struct NeonRequestContext // A simple Neon response_block_reader for use with an XInputStream // ------------------------------------------------------------------- -#if NEON_VERSION >= 0250 +#if NEON_VERSION >= 0x0250 extern "C" int NeonSession_ResponseBlockReader(void * inUserData, #else extern "C" void NeonSession_ResponseBlockReader(void * inUserData, @@ -272,7 +272,7 @@ extern "C" void NeonSession_ResponseBlockReader(void * inUserData, if ( xInputStream.is() ) xInputStream->AddToStream( inBuf, inLen ); } -#if NEON_VERSION >= 0250 +#if NEON_VERSION >= 0x0250 return 0; #endif } @@ -282,7 +282,7 @@ extern "C" void NeonSession_ResponseBlockReader(void * inUserData, // A simple Neon response_block_reader for use with an XOutputStream // ------------------------------------------------------------------- -#if NEON_VERSION >= 0250 +#if NEON_VERSION >= 0x0250 extern "C" int NeonSession_ResponseBlockWriter( void * inUserData, #else extern "C" void NeonSession_ResponseBlockWriter( void * inUserData, @@ -304,7 +304,7 @@ extern "C" void NeonSession_ResponseBlockWriter( void * inUserData, xOutputStream->writeBytes( aSeq ); } } -#if NEON_VERSION >= 0250 +#if NEON_VERSION >= 0x0250 return 0; #endif } @@ -1667,7 +1667,7 @@ int NeonSession::GET( ne_session * sess, void *cursor = NULL; const char *name, *value; -#if NEON_VERSION < 0250 +#if NEON_VERSION < 0x0250 if ( getheaders ) ne_add_response_header_catcher( req, runResponseHeaderHandler, userdata ); #endif @@ -1675,7 +1675,7 @@ int NeonSession::GET( ne_session * sess, ret = ne_request_dispatch( req ); -#if NEON_VERSION >= 0250 +#if NEON_VERSION >= 0x0250 if ( getheaders ) { while ((cursor = ne_response_header_iterate(req, cursor, &name, &value)) |