summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-11-23 00:52:29 +0000
committerTim Potter <tpot@samba.org>2001-11-23 00:52:29 +0000
commit79b34d1b11e685d068b9c0ac9a0ec06eaa263d82 (patch)
tree7333a5c9d1ce43319880185d936a373b0fd8caa2 /source3/rpcclient
parent5788899a480c3b4c79a1970dbd1634cc3fed4de6 (diff)
downloadsamba-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/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c2
-rw-r--r--source3/rpcclient/samsync.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 773548a7db..c7d1604a0b 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -716,8 +716,6 @@ static void usage(void)
load_interfaces();
- TimeInit();
-
get_myname((*global_myname)?NULL:global_myname);
strupper(global_myname);
diff --git a/source3/rpcclient/samsync.c b/source3/rpcclient/samsync.c
index 9cd5c481b5..6d75722f35 100644
--- a/source3/rpcclient/samsync.c
+++ b/source3/rpcclient/samsync.c
@@ -309,8 +309,6 @@ static struct cli_state *init_connection(struct cli_state *cli,
load_interfaces();
- TimeInit();
-
/* Check arguments make sense */
if (do_sam_sync && do_sam_repl) {