From 202f63e476fc1dc60d9f1271673b292288cfb436 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 21 Nov 2006 02:21:45 +0000 Subject: r19811: Decode REG_MULTI_SZ and REG_BINARY (This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c) --- source3/include/reg_objects.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/include/reg_objects.h') diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h index 6ddbb89cc7..99da22f8cd 100644 --- a/source3/include/reg_objects.h +++ b/source3/include/reg_objects.h @@ -33,9 +33,9 @@ typedef struct { } REGISTRY_VALUE; /* - * A registry string is not necessarily NULL terminated. When retrieving it - * from the net, we guarantee this however. A server might want to push it - * without the terminator though. + * A REG_SZ string is not necessarily NULL terminated. When retrieving it from + * the net, we guarantee this however. A server might want to push it without + * the terminator though. */ struct registry_string { @@ -51,7 +51,7 @@ struct registry_value { struct registry_string sz; struct { uint32 num_strings; - struct registry_string *strings; + char **strings; } multi_sz; DATA_BLOB binary; } v; -- cgit