summaryrefslogtreecommitdiffstats
path: root/source/smbd/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/message.c')
-rw-r--r--source/smbd/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/message.c b/source/smbd/message.c
index 56088549758..59b8cf85869 100644
--- a/source/smbd/message.c
+++ b/source/smbd/message.c
@@ -87,8 +87,8 @@ static void msg_deliver(void)
pstring s;
pstrcpy(s,lp_msg_command());
- pstring_sub(s,"%f",alpha_strcpy(alpha_msgfrom,msgfrom,sizeof(alpha_msgfrom)));
- pstring_sub(s,"%t",alpha_strcpy(alpha_msgto,msgto,sizeof(alpha_msgto)));
+ pstring_sub(s,"%f",alpha_strcpy(alpha_msgfrom,msgfrom,NULL,sizeof(alpha_msgfrom)));
+ pstring_sub(s,"%t",alpha_strcpy(alpha_msgto,msgto,NULL,sizeof(alpha_msgto)));
standard_sub_basic(s);
pstring_sub(s,"%s",name);
smbrun(s,NULL);