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/nsswitch | |
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/nsswitch')
-rw-r--r-- | source3/nsswitch/wbinfo.c | 2 | ||||
-rw-r--r-- | source3/nsswitch/winbindd.c | 2 | ||||
-rw-r--r-- | source3/nsswitch/wins.c | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c index 8dd2e44caa..11185624d1 100644 --- a/source3/nsswitch/wbinfo.c +++ b/source3/nsswitch/wbinfo.c @@ -459,8 +459,6 @@ int main(int argc, char **argv) } } - TimeInit(); - if (!lp_load(dyn_CONFIGFILE, True, False, False)) { DEBUG(0, ("error opening config file\n")); exit(1); diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c index 9c8b022f53..ad3d4e7ac3 100644 --- a/source3/nsswitch/winbindd.c +++ b/source3/nsswitch/winbindd.c @@ -735,8 +735,6 @@ int main(int argc, char **argv) *p = 0; } - TimeInit(); - if (!reload_services_file(False)) { DEBUG(0, ("error opening config file\n")); exit(1); diff --git a/source3/nsswitch/wins.c b/source3/nsswitch/wins.c index b66ef88e04..e23cf9ea03 100644 --- a/source3/nsswitch/wins.c +++ b/source3/nsswitch/wins.c @@ -73,7 +73,6 @@ struct in_addr *lookup_backend(const char *name, int *count) if (!initialised) { initialised = 1; DEBUGLEVEL = 0; - TimeInit(); setup_logging("nss_wins",True); lp_load(dyn_CONFIGFILE,True,False,False); load_interfaces(); |