summaryrefslogtreecommitdiff
path: root/source/lib/substitute.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/substitute.c')
-rw-r--r--source/lib/substitute.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/lib/substitute.c b/source/lib/substitute.c
index aaea499feda..0dbd7be384f 100644
--- a/source/lib/substitute.c
+++ b/source/lib/substitute.c
@@ -48,6 +48,12 @@ void sub_set_smb_name(const char *name)
alpha_strcpy(smb_user_name,tmp,SAFE_NETBIOS_CHARS,sizeof(smb_user_name)-1);
}
+const char* get_remote_machine_name(void)
+{
+ return remote_machine;
+}
+
+
/*******************************************************************
Given a pointer to a %$(NAME) expand it as an environment variable.
Return the number of characters by which the pointer should be advanced.