summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-09-14 22:28:11 +0200
committerVolker Lendecke <vl@samba.org>2009-09-14 22:48:45 +0200
commitd3a6914e3b3f04b0f2ec2c27995cb7e3975f5d27 (patch)
tree6476b3f04c2e5d621781bd7eb7eef59dcaa67499 /source3/modules
parent9dae2501f1ef21c12385e3abd53c04fdabbed3e9 (diff)
downloadsamba-d3a6914e3b3f04b0f2ec2c27995cb7e3975f5d27.tar.gz
samba-d3a6914e3b3f04b0f2ec2c27995cb7e3975f5d27.tar.bz2
samba-d3a6914e3b3f04b0f2ec2c27995cb7e3975f5d27.zip
s3:vfs_catia: Use talloc_zero for simplification
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_catia.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c
index d4fef4d14e..279ab596fb 100644
--- a/source3/modules/vfs_catia.c
+++ b/source3/modules/vfs_catia.c
@@ -55,8 +55,7 @@ static bool build_table(struct char_mappings **cmaps, int value)
int i;
int start = T_START(value);
- (*cmaps) = (struct char_mappings *)
- TALLOC_ZERO(NULL, sizeof(struct char_mappings));
+ (*cmaps) = talloc_zero(NULL, struct char_mappings);
if (!*cmaps)
return False;