diff options
author | Tim Potter <tpot@samba.org> | 2003-11-23 06:29:11 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-11-23 06:29:11 +0000 |
commit | aa42dd6269303ce771b1482c0ee00b8e43c9e610 (patch) | |
tree | 21de0eb575ed2d45699b100ac5562b8004547ae0 /source4/librpc/idl | |
parent | 800d3e0134b72135fa359fa5a239f1c68adf4ca1 (diff) | |
download | samba-aa42dd6269303ce771b1482c0ee00b8e43c9e610.tar.gz samba-aa42dd6269303ce771b1482c0ee00b8e43c9e610.tar.bz2 samba-aa42dd6269303ce771b1482c0ee00b8e43c9e610.zip |
Strings in the winreg pipe are terminated.
(This used to be commit 1f56d4cd04840b350b098e698d369cd6b047cfe4)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/winreg.idl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl index aa7ead797b..c7dc3942df 100644 --- a/source4/librpc/idl/winreg.idl +++ b/source4/librpc/idl/winreg.idl @@ -10,9 +10,9 @@ ] interface winreg { typedef struct { - [value(2*strlen_m(r->name))] uint16 name_len; - [value(r->name_len)] uint16 name_size; - unistr_noterm *name; + [value(2*(strlen_m(r->name)+1))] uint16 name_len; + [value(r->name_len)] uint16 name_size; + unistr *name; } winreg_String; typedef struct { |