diff options
Diffstat (limited to 'source3/lib/substitute.c')
-rw-r--r-- | source3/lib/substitute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c index 2a575f0c38..a23f613814 100644 --- a/source3/lib/substitute.c +++ b/source3/lib/substitute.c @@ -280,7 +280,7 @@ void standard_sub_snum(int snum, char *str) ********************************************************************/ void standard_sub_vuser(char *str, user_struct *vuser) { - standard_sub_advanced(-1, vuser->name, "", -1, str); + standard_sub_advanced(-1, vuser->user.unix_name, "", -1, str); } /******************************************************************* @@ -288,6 +288,6 @@ void standard_sub_vuser(char *str, user_struct *vuser) ********************************************************************/ void standard_sub_vsnum(char *str, user_struct *vuser, int snum) { - standard_sub_advanced(snum, vuser->name, "", -1, str); + standard_sub_advanced(snum, vuser->user.unix_name, "", -1, str); } |