r4328: mark the talloc data as DATA_BLOB
authorStefan Metzmacher <metze@samba.org>
Tue, 21 Dec 2004 15:23:33 +0000 (15:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:35 +0000 (13:07 -0500)
metze

source/include/talloc.h

index 18c31c693532a847aa4387a00291e8cc1d568009..ffb4c9f2528030c2ce375c8fb4286fcddd7b9864 100644 (file)
@@ -49,8 +49,8 @@ typedef void TALLOC_CTX;
 #define malloc_array_p(type, count) (type *)realloc_array(NULL, sizeof(type), count)
 #define realloc_p(p, type, count) (type *)realloc_array(p, sizeof(type), count)
 
-#define data_blob(ptr, size) data_blob_named(ptr, size, __location__)
-#define data_blob_talloc(ctx, ptr, size) data_blob_talloc_named(ctx, ptr, size, __location__)
+#define data_blob(ptr, size) data_blob_named(ptr, size, "DATA_BLOB: "__location__)
+#define data_blob_talloc(ctx, ptr, size) data_blob_talloc_named(ctx, ptr, size, "DATA_BLOB: "__location__)
 
 #ifndef PRINTF_ATTRIBUTE
 #define PRINTF_ATTRIBUTE(a1, a2)