summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2010-12-14 13:25:58 +0100
committerDavid Tardon <dtardon@redhat.com>2010-12-14 13:25:58 +0100
commit9d62518abf5e24fa89885aee4dc629e68516455f (patch)
tree94d4b70d2ffcade9ec1c11878103f79f79e97994 /ucb/source
parentaa4839463c5622accb5387b04d4d46031602e9bb (diff)
rhbz#661809 ne_propnames is affected too
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/webdav/NeonPropFindRequest.cxx13
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() )