diff options
author | Gregor Beck <gbeck@sernet.de> | 2011-07-07 14:50:47 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-10-12 22:45:53 +0200 |
commit | 85b145d7450fc9d9e9c93b0300c899dd94e2e861 (patch) | |
tree | 575777ba746b50e6f7fc7e4b338abc2174bf23a1 /lib | |
parent | 6648d906525cf27228145c8723e3dbef67dd77bd (diff) | |
download | samba-85b145d7450fc9d9e9c93b0300c899dd94e2e861.tar.gz samba-85b145d7450fc9d9e9c93b0300c899dd94e2e861.tar.bz2 samba-85b145d7450fc9d9e9c93b0300c899dd94e2e861.zip |
s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/data_blob.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/data_blob.h b/lib/util/data_blob.h index 558ade9248..09a9292aed 100644 --- a/lib/util/data_blob.h +++ b/lib/util/data_blob.h @@ -50,7 +50,7 @@ struct data_blob_list_item { #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__) -#define data_blob_dup_talloc(ctx, blob) data_blob_talloc_named(ctx, (blob)->data, (blob)->length, "DATA_BLOB: "__location__) +#define data_blob_dup_talloc(ctx, blob) data_blob_talloc_named(ctx, (blob).data, (blob).length, "DATA_BLOB: "__location__) /** construct a data blob, must be freed with data_blob_free() |