summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_net.c2
-rw-r--r--source3/rpc_parse/parse_reg.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c
index fd9f7255de..9b12668184 100644
--- a/source3/rpc_parse/parse_net.c
+++ b/source3/rpc_parse/parse_net.c
@@ -736,7 +736,7 @@ void make_id_info2(NET_ID_INFO_2 *id, char *domain_name,
lm_chal_resp = lm_owf;
}
- memcpy(&(id->lm_chal), lm_challenge, sizeof(id->lm_chal));
+ memcpy(id->lm_chal, lm_challenge, sizeof(id->lm_chal));
make_str_hdr(&(id->hdr_nt_chal_resp), 24, 24, nt_chal_resp != NULL ? 1 : 0);
make_str_hdr(&(id->hdr_lm_chal_resp), 24, 24, lm_chal_resp != NULL ? 1 : 0);
diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c
index d278b75f5d..dec5110b41 100644
--- a/source3/rpc_parse/parse_reg.c
+++ b/source3/rpc_parse/parse_reg.c
@@ -142,12 +142,12 @@ void make_reg_q_info(REG_Q_INFO *r_q,
memcpy(&(r_q->time), prod_time, sizeof(r_q->time));
r_q->major_version1 = major_version;
r_q->minor_version1 = minor_version;
- bzero(&(r_q->pad1), sizeof(r_q->pad1));
+ bzero(r_q->pad1, sizeof(r_q->pad1));
r_q->ptr2 = 1;
r_q->major_version2 = major_version;
r_q->minor_version2 = minor_version;
- bzero(&(r_q->pad2), sizeof(r_q->pad2));
+ bzero(r_q->pad2, sizeof(r_q->pad2));
r_q->ptr3 = 1;
r_q->unknown = unknown;