summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2010-07-13 14:03:52 +0200
committerKurt Zenker <kz@openoffice.org>2010-07-13 14:03:52 +0200
commit6b8ae0ea1a10c20383117603a4a7153071681d04 (patch)
tree68d2e6e080efe3ac55b107a828e6bbde087df632 /ucb/source
parent3b472d81b852f043d926bbc744e5a1f42856c256 (diff)
parentc8beaad74c0b122d60ee80926c7c9fbcbbc6f3fd (diff)
CWS-TOOLING: integrate CWS jl153_OOO330
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/webdav/DAVResourceAccess.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/ucp/webdav/DAVResourceAccess.cxx b/ucb/source/ucp/webdav/DAVResourceAccess.cxx
index 872d454057..e4617b7b9e 100644
--- a/ucb/source/ucp/webdav/DAVResourceAccess.cxx
+++ b/ucb/source/ucp/webdav/DAVResourceAccess.cxx
@@ -1201,8 +1201,7 @@ sal_Bool DAVResourceAccess::handleException( DAVException & e, int errorCount )
// if we have a bad connection try again. Up to three times.
case DAVException::DAV_HTTP_ERROR:
// retry up to three times, if not a client-side error.
- if ( e.getStatus() > 0 &&
- ( e.getStatus() < 400 || e.getStatus() > 499 ) &&
+ if ( ( e.getStatus() < 400 || e.getStatus() >= 500 ) &&
errorCount < 3 )
{
return sal_True;