async_smb.c: convert cli->timeout properly
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 10 May 2011 08:03:11 +0000 (17:33 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 10 May 2011 10:09:07 +0000 (12:09 +0200)
commit87e35421744df568721a7f9c7fa141d62665d183
tree1d9b22f59a0ccd830da56998de3c54c4395cccf7
parent0d93eb8f5501c348451a7d78e83516873d71cda0
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
source3/libsmb/async_smb.c