From: Günther Deschner Date: Thu, 4 May 2006 17:47:04 +0000 (+0000) Subject: r15441: cleanup older unused padding. X-Git-Tag: samba-4.0.0alpha6~801^2~8510 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46c35b17a32d479f5780ca6a24e4e9c3b9cc2403;p=thirdparty%2Fsamba.git r15441: cleanup older unused padding. Guenther (This used to be commit 6e225e0528604c797a953eb8d3b49a873b21584f) --- diff --git a/source3/include/rpc_samr.h b/source3/include/rpc_samr.h index c33d4099975..7aea1b23c33 100644 --- a/source3/include/rpc_samr.h +++ b/source3/include/rpc_samr.h @@ -597,8 +597,6 @@ typedef struct sam_unknown_info_2_inf uint32 num_domain_grps; /* number of domain groups in domain */ uint32 num_local_grps; /* number of local groups in domain */ - uint8 padding[12]; /* 12 bytes zeros */ - UNISTR2 uni_comment; /* comment unicode string */ UNISTR2 uni_domain; /* domain name unicode string */ UNISTR2 uni_server; /* server name unicode string */ diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index c425b945b4b..287e79f1b41 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -712,8 +712,6 @@ void init_unk_info2(SAM_UNK_INFO_2 * u_2, u_2->num_domain_grps = num_groups; u_2->num_local_grps = num_alias; - memset(u_2->padding, 0, sizeof(u_2->padding)); /* 12 bytes zeros */ - init_unistr2(&u_2->uni_comment, comment, UNI_FLAGS_NONE); init_uni_hdr(&u_2->hdr_comment, &u_2->uni_comment); init_unistr2(&u_2->uni_domain, domain, UNI_FLAGS_NONE);