mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
r3785: this strings are not const
metze (This used to be commit 436da375a2a815926aaa0565120a4750ead37cb0)
This commit is contained in:
parent
43f500244b
commit
536601aeba
@ -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}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user