Author: gd
Date: 2006-05-04 17:47:04 +0000 (Thu, 04 May 2006)
New Revision: 15441

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15441

Log:
cleanup older unused padding.

Guenther

Modified:
   branches/SAMBA_3_0/source/include/rpc_samr.h
   branches/SAMBA_3_0/source/rpc_parse/parse_samr.c
   trunk/source/include/rpc_samr.h
   trunk/source/rpc_parse/parse_samr.c


Changeset:
Modified: branches/SAMBA_3_0/source/include/rpc_samr.h
===================================================================
--- branches/SAMBA_3_0/source/include/rpc_samr.h        2006-05-04 17:39:35 UTC 
(rev 15440)
+++ branches/SAMBA_3_0/source/include/rpc_samr.h        2006-05-04 17:47:04 UTC 
(rev 15441)
@@ -597,8 +597,6 @@
        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 */

Modified: branches/SAMBA_3_0/source/rpc_parse/parse_samr.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_parse/parse_samr.c    2006-05-04 17:39:35 UTC 
(rev 15440)
+++ branches/SAMBA_3_0/source/rpc_parse/parse_samr.c    2006-05-04 17:47:04 UTC 
(rev 15441)
@@ -712,8 +712,6 @@
        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);

Modified: trunk/source/include/rpc_samr.h
===================================================================
--- trunk/source/include/rpc_samr.h     2006-05-04 17:39:35 UTC (rev 15440)
+++ trunk/source/include/rpc_samr.h     2006-05-04 17:47:04 UTC (rev 15441)
@@ -597,8 +597,6 @@
        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 */

Modified: trunk/source/rpc_parse/parse_samr.c
===================================================================
--- trunk/source/rpc_parse/parse_samr.c 2006-05-04 17:39:35 UTC (rev 15440)
+++ trunk/source/rpc_parse/parse_samr.c 2006-05-04 17:47:04 UTC (rev 15441)
@@ -712,8 +712,6 @@
        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);

Reply via email to