git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dae250
)
s3:vfs_catia: Use talloc_zero for simplification
author
Volker Lendecke
<vl@samba.org>
Mon, 14 Sep 2009 20:28:11 +0000
(22:28 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 14 Sep 2009 20:48:45 +0000
(22:48 +0200)
source3/modules/vfs_catia.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_catia.c
b/source3/modules/vfs_catia.c
index d4fef4d14ef2d583a413988ab77db4d6356bcff5..279ab596fbacb3adb4e24f60988b2b1863a9782e 100644
(file)
--- 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;