summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-02-13 07:17:07 +0000
committerGerald Carter <jerry@samba.org>2001-02-13 07:17:07 +0000
commit3d528fef2f75e0cb8d7812e164d249226e889f80 (patch)
treebf51fe98abdc347e6dc46788f63387d0c892c2b4 /source3
parent14ac22b4b6aba2f25df9a679f078dce5f319b054 (diff)
downloadsamba-3d528fef2f75e0cb8d7812e164d249226e889f80.tar.gz
samba-3d528fef2f75e0cb8d7812e164d249226e889f80.tar.bz2
samba-3d528fef2f75e0cb8d7812e164d249226e889f80.zip
change pstrcpy() in setup_pwret() to fstrcpy() since we are
using fstrings. Spotted by Elrond. Thanks :-) jerry (This used to be commit a55a4fea9728550c4d28b05910c0b7d5080714b3)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index 48a8a3f687..5557aa8735 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -595,13 +595,13 @@ static struct passwd *setup_pwret(struct passwd *pass)
if (pass->pw_name)
{
pw_ret.pw_name = pw_name;
- pstrcpy(pw_ret.pw_name, pass->pw_name);
+ fstrcpy(pw_ret.pw_name, pass->pw_name);
}
if (pass->pw_passwd)
{
pw_ret.pw_passwd = pw_passwd;
- pstrcpy(pw_ret.pw_passwd, pass->pw_passwd);
+ fstrcpy(pw_ret.pw_passwd, pass->pw_passwd);
}
return &pw_ret;