diff options
author | Tim Potter <tpot@samba.org> | 2002-11-22 06:15:43 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-11-22 06:15:43 +0000 |
commit | 4580e16908fe06a2c2b6738683b7cb840467e61c (patch) | |
tree | 7e0aaa8d9766a3293301280a3afd3eed28c14312 /source/python/py_common.c | |
parent | ab812ada56b740ac986de8e1f4ca36641ec61c01 (diff) | |
download | samba-4580e16908fe06a2c2b6738683b7cb840467e61c.tar.gz samba-4580e16908fe06a2c2b6738683b7cb840467e61c.tar.xz samba-4580e16908fe06a2c2b6738683b7cb840467e61c.zip |
Fixed some globals that escaped the recent globalcide.
Diffstat (limited to 'source/python/py_common.c')
-rw-r--r-- | source/python/py_common.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source/python/py_common.c b/source/python/py_common.c index 364271d57c4..6e299470bf8 100644 --- a/source/python/py_common.c +++ b/source/python/py_common.c @@ -45,9 +45,6 @@ static BOOL initialised; void py_samba_init(void) { - extern pstring global_myname; - char *p; - if (initialised) return; @@ -59,11 +56,7 @@ void py_samba_init(void) /* Misc other stuff */ load_interfaces(); - - fstrcpy(global_myname, myhostname()); - p = strchr(global_myname, '.'); - if (p) - *p = 0; + init_names(); initialised = True; } |