diff options
author | Tim Potter <tpot@samba.org> | 2001-11-23 00:52:29 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-11-23 00:52:29 +0000 |
commit | 79b34d1b11e685d068b9c0ac9a0ec06eaa263d82 (patch) | |
tree | 7333a5c9d1ce43319880185d936a373b0fd8caa2 /source3/client | |
parent | 5788899a480c3b4c79a1970dbd1634cc3fed4de6 (diff) | |
download | samba-79b34d1b11e685d068b9c0ac9a0ec06eaa263d82.tar.gz samba-79b34d1b11e685d068b9c0ac9a0ec06eaa263d82.tar.bz2 samba-79b34d1b11e685d068b9c0ac9a0ec06eaa263d82.zip |
Removed TimeInit() call from every client program (except for one place
in smbd/process.c where the timezone is reinitialised. Was replaced with
check for a static is_initialised boolean.
(This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 2 | ||||
-rw-r--r-- | source3/client/smbmount.c | 2 | ||||
-rw-r--r-- | source3/client/smbspool.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index b4b48da285..7baab4b204 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -2450,8 +2450,6 @@ static int do_message_op(void) } } - TimeInit(); - in_client = True; /* Make sure that we tell lp_load we are */ old_debug = DEBUGLEVEL; diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c index f8fc0558ce..f330dcff8d 100644 --- a/source3/client/smbmount.c +++ b/source3/client/smbmount.c @@ -827,8 +827,6 @@ static void parse_mount_smb(int argc, char **argv) else setenv("CLI_FORCE_ASCII", "true", 1); - TimeInit(); - in_client = True; /* Make sure that we tell lp_load we are */ if (getenv("USER")) { diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index 03d4a34060..3d049b588e 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -187,8 +187,6 @@ static int smb_print(struct cli_state *, char *, FILE *); setup_logging("smbspool", True); - TimeInit(); - in_client = True; /* Make sure that we tell lp_load we are */ if (!lp_load(dyn_CONFIGFILE, True, False, False)) |