diff options
author | Luke Leighton <lkcl@samba.org> | 1999-03-24 17:26:08 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-03-24 17:26:08 +0000 |
commit | cd7c530f569045a47b51f357759f4cf5089992a0 (patch) | |
tree | 7d8ac0e611cef6ddeedd0dc3dc6ccb5e94a9b313 /source3/rpc_server | |
parent | 22ab15823fde3926f4fea5538632a2215d30d435 (diff) | |
download | samba-cd7c530f569045a47b51f357759f4cf5089992a0.tar.gz samba-cd7c530f569045a47b51f357759f4cf5089992a0.tar.bz2 samba-cd7c530f569045a47b51f357759f4cf5089992a0.zip |
removed 2 unnecessary args from make_uni_hdr.
(This used to be commit f84dede27e16a5f02ee6d02fe2d16f2661c65470)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_lsa.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/srv_samr.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_lsa.c b/source3/rpc_server/srv_lsa.c index 75512036b6..61aac58e62 100644 --- a/source3/rpc_server/srv_lsa.c +++ b/source3/rpc_server/srv_lsa.c @@ -182,7 +182,7 @@ static int make_dom_ref(DOM_R_REF *ref, char *dom_name, DOM_SID *dom_sid) len = dom_name != NULL ? strlen(dom_name) : 0; - make_uni_hdr(&(ref->hdr_ref_dom[num].hdr_dom_name), len, len, len != 0 ? 1 : 0); + make_uni_hdr(&(ref->hdr_ref_dom[num].hdr_dom_name), len); ref->hdr_ref_dom[num].ptr_dom_sid = dom_sid != NULL ? 1 : 0; make_unistr2 (&(ref->ref_dom[num].uni_dom_name), dom_name, len); diff --git a/source3/rpc_server/srv_samr.c b/source3/rpc_server/srv_samr.c index 0371fbc88c..2dd7801e81 100644 --- a/source3/rpc_server/srv_samr.c +++ b/source3/rpc_server/srv_samr.c @@ -78,8 +78,7 @@ static BOOL get_sampwd_entries(SAM_USER_INFO_21 *pw_buf, user_name_len = strlen(pwd->nt_name); make_unistr2(&(pw_buf[(*num_entries)].uni_user_name), pwd->nt_name, user_name_len); - make_uni_hdr(&(pw_buf[(*num_entries)].hdr_user_name), user_name_len, - user_name_len, 1); + make_uni_hdr(&(pw_buf[(*num_entries)].hdr_user_name), user_name_len); pw_buf[(*num_entries)].user_rid = pwd->user_rid; bzero( pw_buf[(*num_entries)].nt_pwd , 16); |