diff options
author | Günther Deschner <gd@samba.org> | 2008-01-07 14:15:48 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-01-07 14:53:07 +0100 |
commit | 02f67cfcfa09245e79ecbe41dfadd04f5418253a (patch) | |
tree | 1e014542a966bc9fcc83df119a559addc1f990b0 /source3/lib/substitute.c | |
parent | be7df54c3912a2db024f19d789d385e99ed98917 (diff) | |
download | samba-02f67cfcfa09245e79ecbe41dfadd04f5418253a.tar.gz samba-02f67cfcfa09245e79ecbe41dfadd04f5418253a.tar.bz2 samba-02f67cfcfa09245e79ecbe41dfadd04f5418253a.zip |
Add free_local_machine_name().
Guenther
(This used to be commit f3ebb4f96bb0364dae9924e798652e759b63bb52)
Diffstat (limited to 'source3/lib/substitute.c')
-rw-r--r-- | source3/lib/substitute.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c index 80feee9579..59b54c4dff 100644 --- a/source3/lib/substitute.c +++ b/source3/lib/substitute.c @@ -34,6 +34,11 @@ fstring remote_proto="UNKNOWN"; static char *local_machine; +void free_local_machine_name(void) +{ + SAFE_FREE(local_machine); +} + bool set_local_machine_name(const char *local_name, bool perm) { static bool already_perm = false; |