summaryrefslogtreecommitdiff
path: root/source3/wrepld
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/wrepld
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/wrepld')
-rw-r--r--source3/wrepld/server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/wrepld/server.c b/source3/wrepld/server.c
index 740003035c..14d3e730f4 100644
--- a/source3/wrepld/server.c
+++ b/source3/wrepld/server.c
@@ -26,7 +26,6 @@ extern pstring global_myname;
extern pstring user_socket_options;
-extern fstring remote_machine;
extern WINS_OWNER *global_wins_table;
extern int partner_count;
@@ -637,7 +636,7 @@ static void process(void)
lp_set_logfile(logfile);
}
- pstrcpy(remote_machine, "wrepld");
+ set_remote_machine_name("wrepld");
setup_logging(argv[0],interactive);