diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-02-17 09:40:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:27 -0500 |
commit | 881743f091ae3384c162b6c7b8e43d193eb4fbaa (patch) | |
tree | ef5f9f060517b5be01ca61f7eedd400746e82403 /source4 | |
parent | 0e173fa7b380726121a8a9072b273519ff6990c5 (diff) | |
download | samba-881743f091ae3384c162b6c7b8e43d193eb4fbaa.tar.gz samba-881743f091ae3384c162b6c7b8e43d193eb4fbaa.tar.bz2 samba-881743f091ae3384c162b6c7b8e43d193eb4fbaa.zip |
r21407: auto set the len values
metze
(This used to be commit 307aabe0257559a9211f4f627cb38150a24dc40f)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/librpc/idl/drsblobs.idl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/idl/drsblobs.idl b/source4/librpc/idl/drsblobs.idl index 811e15f793..096329fc47 100644 --- a/source4/librpc/idl/drsblobs.idl +++ b/source4/librpc/idl/drsblobs.idl @@ -202,8 +202,8 @@ interface drsblobs { ); 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]; /* |