svn commit: samba r3785 - in branches/SAMBA_4_0/source/librpc/ndr: .
metze at samba.org
metze at samba.org
Tue Nov 16 11:17:59 GMT 2004
Author: metze
Date: 2004-11-16 11:17:59 +0000 (Tue, 16 Nov 2004)
New Revision: 3785
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3785
Log:
this strings are not const
metze
Modified:
branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c 2004-11-16 10:56:51 UTC (rev 3784)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c 2004-11-16 11:17:59 UTC (rev 3785)
@@ -1198,7 +1198,7 @@
/*
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 @@
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}",
More information about the samba-cvs
mailing list