diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav/NeonPropFindRequest.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
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() ) |