From 99cf1bef108c7236b8181325633d643be0902bd3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 15 Oct 2006 14:47:25 +0000 Subject: r19290: regedit running on nt4 will cut off the last character from a enumkey without this patch. Jerry, Jelmer, can you please check this? Thanks, Volker (This used to be commit ed95fe3c63d48de9504d43f90e72f11ec0617064) --- source3/librpc/idl/winreg.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/librpc/idl') diff --git a/source3/librpc/idl/winreg.idl b/source3/librpc/idl/winreg.idl index 5178e3c7a7..13e3dcfc50 100644 --- a/source3/librpc/idl/winreg.idl +++ b/source3/librpc/idl/winreg.idl @@ -131,7 +131,7 @@ ); typedef struct { - [value(strlen_m(name)*2)] uint16 length; + [value(strlen_m_term(name)*2)] uint16 length; /* size cannot be auto-set by value() as it is the amount of space the server is allowed to use for this string in the reply, not its current size */ -- cgit