summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2010-09-21 16:10:51 +0200
committerKai Sommerfeld <kso@openoffice.org>2010-09-21 16:10:51 +0200
commit5698690a8bccc3c0345ad34fe27934c0027d76a9 (patch)
tree327f41e6316beeea784dcb26665985a6907f805e /ucb/source
parent04a3e68aece9ad6a0f96b66c2fcb22d26ca4780c (diff)
#i114622# - set infinite timeout in case of unknown timeout.
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/webdav/LockSequence.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav/LockSequence.cxx b/ucb/source/ucp/webdav/LockSequence.cxx
index 98e61954032f..bc9b9f0175f7 100644
--- a/ucb/source/ucp/webdav/LockSequence.cxx
+++ b/ucb/source/ucp/webdav/LockSequence.cxx
@@ -218,8 +218,12 @@ extern "C" int LockSequence_chardata_callback(
// @@@
// }
else
+ {
+ pCtx->pLock->Timeout = sal_Int64( -1 );
+ pCtx->hasTimeout = true;
OSL_ENSURE( sal_False,
- "LockSequence_chardata_callback - Unknown timeout!" );
+ "LockSequence_chardata_callback - Unknown timeout!" );
+ }
break;
case STATE_HREF: