From 536601aeba8adb3fe3ac4af19088910c31959f93 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 16 Nov 2004 11:17:59 +0000 Subject: r3785: this strings are not const metze (This used to be commit 436da375a2a815926aaa0565120a4750ead37cb0) --- source4/librpc/ndr/ndr_basic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/librpc/ndr') diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c index 1bccead269..70fd0b34a4 100644 --- a/source4/librpc/ndr/ndr_basic.c +++ b/source4/librpc/ndr/ndr_basic.c @@ -1198,7 +1198,7 @@ NTSTATUS GUID_from_string(const char *s, struct GUID *guid) /* its useful to be able to display these in debugging messages */ -const char *GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid) +char *GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid) { return talloc_asprintf(mem_ctx, "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x", @@ -1211,7 +1211,7 @@ const char *GUID_string(TALLOC_CTX *mem_ctx, const struct GUID *guid) guid->node[4], guid->node[5]); } -const char *GUID_string2(TALLOC_CTX *mem_ctx, const struct GUID *guid) +char *GUID_string2(TALLOC_CTX *mem_ctx, const struct GUID *guid) { return talloc_asprintf(mem_ctx, "{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}", -- cgit