summaryrefslogtreecommitdiffstats
path: root/source3/nmbd/nmbd.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-08-11 02:30:35 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-08-11 02:30:35 +0000
commitdd5615c04241ec09e6b877a0670a957fa7702902 (patch)
tree62e27b18cd3e3bd717abbd4b2b1eb857b33544af /source3/nmbd/nmbd.c
parent6ddba1e99b48afc53cf5bc7a2900279490c7a8f6 (diff)
downloadsamba-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.c3
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;