1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

winbind3: Use fstrcpy

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Volker Lendecke 2014-01-30 14:17:35 +00:00 committed by Andrew Bartlett
parent c295670368
commit 55cf688949

View File

@ -238,7 +238,7 @@ static bool fillup_pw_field(const char *lp_template,
if (!templ)
return False;
strlcpy(out, templ, sizeof(fstring));
fstrcpy(out, templ);
TALLOC_FREE(templ);
return True;