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
commit4065fa62cd9e25056e8ff18cdc3b9d144960bd18 (patch)
tree79f6d875a54af2018caa3a16dbfcbe354b9bd4a6 /ucb/source
parenta8708cedf6b0f9cf3d18c1e4c6e881185b98accf (diff)
parent7d9bce7ca0408786d0ad448dee0f2bf480870d3e (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 872d45405735..e4617b7b9ea7 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;