diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-08-11 02:30:35 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-08-11 02:30:35 +0000 |
commit | dd5615c04241ec09e6b877a0670a957fa7702902 (patch) | |
tree | 62e27b18cd3e3bd717abbd4b2b1eb857b33544af /source3/nmbd/nmbd.c | |
parent | 6ddba1e99b48afc53cf5bc7a2900279490c7a8f6 (diff) | |
download | samba-dd5615c04241ec09e6b877a0670a957fa7702902.tar.gz samba-dd5615c04241ec09e6b877a0670a957fa7702902.tar.xz samba-dd5615c04241ec09e6b877a0670a957fa7702902.zip |
Make 'remote_machine' private to lib/substitute.c, and fix all the user to use
the new accessor functions.
Andrew Bartlett
(This used to be commit f393de2310e997d05674eb7f1268655373e03647)
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r-- | source3/nmbd/nmbd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 3a0dabe8d71..05ea4997d5f 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -269,9 +269,8 @@ static BOOL reload_interfaces(time_t t) static BOOL reload_nmbd_services(BOOL test) { BOOL ret; - extern fstring remote_machine; - fstrcpy( remote_machine, "nmbd" ); + set_remote_machine_name("nmbd"); if ( lp_loaded() ) { pstring fname; |