diff options
author | Jeremy Allison <jra@samba.org> | 2002-10-15 21:30:06 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-10-15 21:30:06 +0000 |
commit | ebc7fd0a3c3cf7f199cf89f82f1457ddd2cf8686 (patch) | |
tree | 298f87cf2d74c5b08278b370bd3e9a90e46672db /source3/libsmb | |
parent | b8e4a3331ddcda9339b2508e1ef24a1c2eab19cb (diff) | |
download | samba-ebc7fd0a3c3cf7f199cf89f82f1457ddd2cf8686.tar.gz samba-ebc7fd0a3c3cf7f199cf89f82f1457ddd2cf8686.tar.bz2 samba-ebc7fd0a3c3cf7f199cf89f82f1457ddd2cf8686.zip |
Added cli_set_timeout() call.
Jeremy.
(This used to be commit 9225054179b6642ae8be790d35e6590aefa46dd3)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clientgen.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 2236d8508d..28480043b9 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -23,6 +23,17 @@ #include "includes.h" /**************************************************************************** + Change the timeout (in milliseconds). +****************************************************************************/ + +unsigned int cli_set_timeout(struct cli_state *cli, unsigned int timeout) +{ + unsigned int old_timeout = cli->timeout; + cli->timeout = timeout; + return old_timeout; +} + +/**************************************************************************** Change the port number used to call on. ****************************************************************************/ |