summaryrefslogtreecommitdiff
path: root/source3/lib
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/lib
parent6ddba1e99b48afc53cf5bc7a2900279490c7a8f6 (diff)
downloadsamba-dd5615c04241ec09e6b877a0670a957fa7702902.tar.gz
samba-dd5615c04241ec09e6b877a0670a957fa7702902.tar.bz2
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/lib')
-rw-r--r--source3/lib/substitute.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c
index c47b5914f1..026df0f67f 100644
--- a/source3/lib/substitute.c
+++ b/source3/lib/substitute.c
@@ -25,9 +25,11 @@ fstring local_machine="";
fstring remote_arch="UNKNOWN";
userdom_struct current_user_info;
fstring remote_proto="UNKNOWN";
-fstring remote_machine="";
extern pstring global_myname;
+static fstring remote_machine="";
+
+
void set_local_machine_name(const char* local_name)
{
fstring tmp_local_machine;