From df71b9eda72c691b163e504f71f20b50489c59cd Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Fri, 15 Oct 1999 19:20:30 +0000 Subject: renamed args due to global "class" variable (This used to be commit 7b3666f01c743ddf599d432a5bcae4408ca73865) --- source3/rpc_parse/parse_reg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/rpc_parse/parse_reg.c') diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c index e37fac16e9..9c6ec61716 100644 --- a/source3/rpc_parse/parse_reg.c +++ b/source3/rpc_parse/parse_reg.c @@ -164,23 +164,23 @@ static BOOL reg_io_hdrbuf_sec(uint32 ptr, uint32 *ptr3, BUFHDR *hdr_sec, creates a structure. ********************************************************************/ BOOL make_reg_q_create_key(REG_Q_CREATE_KEY *q_c, POLICY_HND *hnd, - char *name, char *class, + char *key_name, char *key_class, SEC_ACCESS *sam_access, SEC_DESC_BUF *sec_buf, int sec_len, SEC_DESC *sec) { - int len_name = name != NULL ? strlen(name ) + 1: 0; - int len_class = class != NULL ? strlen(class) + 1: 0; + int len_name = key_name != NULL ? strlen(key_name ) + 1: 0; + int len_class = key_class != NULL ? strlen(key_class) + 1: 0; ZERO_STRUCTP(q_c); memcpy(&(q_c->pnt_pol), hnd, sizeof(q_c->pnt_pol)); make_uni_hdr(&(q_c->hdr_name), len_name); - make_unistr2(&(q_c->uni_name), name, len_name); + make_unistr2(&(q_c->uni_name), key_name, len_name); make_uni_hdr(&(q_c->hdr_class), len_class); - make_unistr2(&(q_c->uni_class), class, len_class); + make_unistr2(&(q_c->uni_class), key_class, len_class); q_c->reserved = 0x00000000; memcpy(&(q_c->sam_access), sam_access, sizeof(q_c->sam_access)); -- cgit