summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-03-13 04:34:31 +0000
committerAndrew Tridgell <tridge@samba.org>2003-03-13 04:34:31 +0000
commit3b104f6e2dc56c5edcf0278e7e43d4993e7db368 (patch)
treecf7528604ad56ee4113483f5c4b92d13d24a905c
parentddfed383a0791986c6d08fde67840e99424ebb1a (diff)
downloadsamba-3b104f6e2dc56c5edcf0278e7e43d4993e7db368.tar.gz
samba-3b104f6e2dc56c5edcf0278e7e43d4993e7db368.tar.bz2
samba-3b104f6e2dc56c5edcf0278e7e43d4993e7db368.zip
win2000 can take much longer than the specified time to respond to a
lock - so to make the torture tests valid I give it a grace time of 10 seconds instead of 2 (This used to be commit c9c9e9eb26ec3042395637d14a6661d04a629ccc)
-rw-r--r--source3/libsmb/clifile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index f61787abde..8e84963c09 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -633,7 +633,7 @@ BOOL cli_lock(struct cli_state *cli, int fnum,
cli_send_smb(cli);
if (timeout != 0) {
- cli->timeout = (timeout == -1) ? 0x7FFFFFFF : (timeout + 2*1000);
+ cli->timeout = (timeout == -1) ? 0x7FFFFFFF : (timeout + 10*1000);
}
if (!cli_receive_smb(cli)) {