rhbz#661809 ne_propnames is affected too

This commit is contained in:
David Tardon 2010-12-14 13:25:58 +01:00
parent aa4839463c
commit 9d62518abf

View file

@ -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() )