summaryrefslogtreecommitdiff
path: root/librpc/idl/idl_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/idl/idl_types.h')
-rw-r--r--librpc/idl/idl_types.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/librpc/idl/idl_types.h b/librpc/idl/idl_types.h
index e8b3da578f..d763a8b22a 100644
--- a/librpc/idl/idl_types.h
+++ b/librpc/idl/idl_types.h
@@ -48,9 +48,10 @@
#define utf8string [flag(STR_UTF8|STR_NULLTERM)] string
/*
- an utf8 string prefixed with [size], 32 bits
+ an utf8 string prefixed with [length], 32 bits
+ not null terminated
*/
-#define utf8string2 [flag(STR_UTF8|STR_SIZE4)] string
+#define utf8string2 [flag(STR_SIZE4|STR_UTF8|STR_NOTERM)] string
/*
a null terminated UCS2 string