summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-08-29 04:06:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:18 -0500
commite9cea3e2d822cc32de6c50644c6d307587fcd63b (patch)
treea07a09a263066487c2bb01d04c9895e6c84ac83f /source3
parentd17f87e2830844aaef14fffe60c5ae0dbc73c997 (diff)
downloadsamba-e9cea3e2d822cc32de6c50644c6d307587fcd63b.tar.gz
samba-e9cea3e2d822cc32de6c50644c6d307587fcd63b.tar.bz2
samba-e9cea3e2d822cc32de6c50644c6d307587fcd63b.zip
r24764: Fix second TALLOC_SIZE definition. Still watching the
build farm to see I didn't stuff this up... Jeremy. (This used to be commit 4ca43172d9feae92060ddefb76a97622bca32d1b)
Diffstat (limited to 'source3')
-rw-r--r--source3/libaddns/dns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libaddns/dns.h b/source3/libaddns/dns.h
index 21dc52ac77..8f2a089853 100644
--- a/source3/libaddns/dns.h
+++ b/source3/libaddns/dns.h
@@ -116,7 +116,7 @@ void *talloc_zeronull(const void *context, size_t size, const char *name);
#define TALLOC_ZERO(ctx, size) _talloc_zero(ctx, size, __location__)
#define TALLOC_ZERO_P(ctx, type) (type *)_talloc_zero(ctx, sizeof(type), #type)
#define TALLOC_ZERO_ARRAY(ctx, type, count) (type *)_talloc_zero_array(ctx, sizeof(type), count, #type)
-#define TALLOC_SIZE(ctx, size) talloc(ctx, size, __location__)
+#define TALLOC_SIZE(ctx, size) talloc_named_const(ctx, size, __location__)
#define TALLOC_ZERO_SIZE(ctx, size) _talloc_zero(ctx, size, __location__)
#endif