diff options
author | Luke Leighton <lkcl@samba.org> | 1999-02-09 19:51:44 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-02-09 19:51:44 +0000 |
commit | ac72fe1ab3d10f64a5945ccbd4ed3817e30f9f7b (patch) | |
tree | 53311747117633d1037ecd343a8de1659edbe856 /source/rpc_server/srv_reg.c | |
parent | ddd350198202d6a1d2c715b3dce7db3a5d76a63a (diff) | |
download | samba-ac72fe1ab3d10f64a5945ccbd4ed3817e30f9f7b.tar.gz samba-ac72fe1ab3d10f64a5945ccbd4ed3817e30f9f7b.tar.xz samba-ac72fe1ab3d10f64a5945ccbd4ed3817e30f9f7b.zip |
removal of the use of unistrn2 function: replace it with unistr2_to_str
which is more appropriate.
Diffstat (limited to 'source/rpc_server/srv_reg.c')
-rw-r--r-- | source/rpc_server/srv_reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_server/srv_reg.c b/source/rpc_server/srv_reg.c index b90912488f1..f98133626d5 100644 --- a/source/rpc_server/srv_reg.c +++ b/source/rpc_server/srv_reg.c @@ -136,7 +136,7 @@ static void reg_reply_open_entry(REG_Q_OPEN_ENTRY *q_u, status = 0xC000000 | NT_STATUS_TOO_MANY_SECRETS; /* ha ha very droll */ } - fstrcpy(name, unistrn2(q_u->uni_name.buffer, q_u->uni_name.uni_str_len)); + fstrcpy(name, unistr2_to_str(&q_u->uni_name)); if (status == 0x0) { |