async_smb.c: convert cli->timeout properly
commit76d2ce018a0d164259ab73277af3e2012edcce71
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 10 May 2011 08:03:11 +0000 (10 17:33 +0930)
committerJeremy Allison <jra@samba.org>
Tue, 10 May 2011 22:13:18 +0000 (10 15:13 -0700)
tree42e7380944c80acbbb0126e8364a710c99fbffa5
parent38155e2833fc3a19b2fd6e4e35d4fd5711b5785f
async_smb.c: convert cli->timeout properly

I have a test failure on my 32-bit Ubuntu system, in that
samba3.smbtorture_s3.plain(s3dc).LOCK9 immediately times out (rather than
waiting 5 seconds for the child).

Debugging revealed this code: timeout is in ms and is set to > 1000 in
various places.  The code dates from 2002, and other perturbations didn't
reveal why it breaks now, but fix it anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Tue May 10 12:09:07 CEST 2011 on sn-devel-104
(cherry picked from commit 87e35421744df568721a7f9c7fa141d62665d183)
source3/libsmb/async_smb.c