r15441: cleanup older unused padding.
authorGünther Deschner <gd@samba.org>
Thu, 4 May 2006 17:47:04 +0000 (17:47 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:16:44 +0000 (11:16 -0500)
Guenther
(This used to be commit 6e225e0528604c797a953eb8d3b49a873b21584f)

source3/include/rpc_samr.h
source3/rpc_parse/parse_samr.c

index c33d40999753ddb1174536f01beb45dfb820c0db..7aea1b23c334e1136e5191344ae1d436a996830f 100644 (file)
@@ -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 */
index c425b945b4b5882066cdc14eb43fe32ac3977bcc..287e79f1b412d1875e7207ba9f5758765bd3c621 100644 (file)
@@ -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);