diff options
author | Tim Potter <tpot@samba.org> | 2001-09-12 11:48:22 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-09-12 11:48:22 +0000 |
commit | ad719ccbd6e48142c87d25d3922f25dbe0dc8e1b (patch) | |
tree | a7c191b7596e68fa6135b2cc797a7e42576f4656 /source3/passdb | |
parent | 2f824ec4743b7f23cef6adf929893c370ce2133e (diff) | |
download | samba-ad719ccbd6e48142c87d25d3922f25dbe0dc8e1b.tar.gz samba-ad719ccbd6e48142c87d25d3922f25dbe0dc8e1b.tar.bz2 samba-ad719ccbd6e48142c87d25d3922f25dbe0dc8e1b.zip |
String length fix from Toomas Soome <tsoome@ut.ee>
(This used to be commit 42417a425b524bc74360fdf6f1a16bfad38b9818)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/passdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 615083ca41..ac9f83b464 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -591,7 +591,7 @@ BOOL local_sid_to_gid(gid_t *pgid, DOM_SID *psid, enum SID_NAME_USE *name_type) static void select_name(pstring string, const UNISTR2 *from) { if (from->buffer != 0) - unistr2_to_ascii(string, from, sizeof(*string)); + unistr2_to_ascii(string, from, sizeof(string)); } /************************************************************* |