diff options
author | Jeremy Allison <jra@samba.org> | 2001-06-23 07:21:25 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-06-23 07:21:25 +0000 |
commit | 2e7e09331a445117c52b007dba8a7093899a331d (patch) | |
tree | dfa67649422bf714ac8314ecb8779de95566d749 /source/smbd/message.c | |
parent | c0782c1a365a26ebba584539cd58cd28304f76f1 (diff) | |
download | samba-2e7e09331a445117c52b007dba8a7093899a331d.tar.gz samba-2e7e09331a445117c52b007dba8a7093899a331d.tar.xz samba-2e7e09331a445117c52b007dba8a7093899a331d.zip |
Added "other_safe_chars" to alpha_strcpy(). Needs testing but is a better
API fix for the problem.
Jeremy.
Diffstat (limited to 'source/smbd/message.c')
-rw-r--r-- | source/smbd/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/message.c b/source/smbd/message.c index 08f5be48c58..b3da3f2b611 100644 --- a/source/smbd/message.c +++ b/source/smbd/message.c @@ -86,8 +86,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); |