1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-24 21:49:29 +03:00

r3785: this strings are not const

metze
This commit is contained in:
Stefan Metzmacher
2004-11-16 11:17:59 +00:00
committed by Gerald (Jerry) Carter
parent a2776eca83
commit 436da375a2

View File

@ -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}",