svn commit: samba r21407 - in branches/SAMBA_4_0/source/librpc/idl: .

metze at samba.org metze at samba.org
Sat Feb 17 09:40:43 GMT 2007


Author: metze
Date: 2007-02-17 09:40:43 +0000 (Sat, 17 Feb 2007)
New Revision: 21407

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

Log:
auto set the len values

metze
Modified:
   branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl	2007-02-17 09:10:32 UTC (rev 21406)
+++ branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl	2007-02-17 09:40:43 UTC (rev 21407)
@@ -202,8 +202,8 @@
 		);
 
 	typedef struct {
-		uint16 name_len;
-		uint16 data_len;
+		[value(2*strlen_m(name))] uint16 name_len;
+		[value(strlen(data))] uint16 data_len;
 		uint16 unknown1; /* 2 for name = 'Packages', 1 for name = 'Primary:*' */
 		[charset(UTF16)] uint8 name[name_len];
 		/* 



More information about the samba-cvs mailing list