From 9d62518abf5e24fa89885aee4dc629e68516455f Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 14 Dec 2010 13:25:58 +0100 Subject: rhbz#661809 ne_propnames is affected too --- ucb/source/ucp/webdav/NeonPropFindRequest.cxx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/webdav/NeonPropFindRequest.cxx b/ucb/source/ucp/webdav/NeonPropFindRequest.cxx index ff2298fe5f6a..629374727757 100644 --- a/ucb/source/ucp/webdav/NeonPropFindRequest.cxx +++ b/ucb/source/ucp/webdav/NeonPropFindRequest.cxx @@ -333,11 +333,14 @@ NeonPropFindRequest::NeonPropFindRequest( std::vector< DAVResourceInfo > & ioResInfo, int & nError ) { - nError = ne_propnames( inSession, - inPath, - inDepth, - NPFR_propnames_results, - &ioResInfo ); + { + osl::Guard< osl::Mutex > theGlobalGuard( aGlobalNeonMutex ); + nError = ne_propnames( inSession, + inPath, + inDepth, + NPFR_propnames_results, + &ioResInfo ); + } // #87585# - Sometimes neon lies (because some servers lie). if ( ( nError == NE_OK ) && ioResInfo.empty() ) -- cgit v1.2.3