git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[metze/samba/wip.git]
/
source3
/
modules
/
vfs_smb_traffic_analyzer.c
diff --git
a/source3/modules/vfs_smb_traffic_analyzer.c
b/source3/modules/vfs_smb_traffic_analyzer.c
index 462932ddb22aea01ad1586a2297d193d04beb564..ddce7e7dc5efa4eb27a444d5947e74fca7c82d3c 100644
(file)
--- a/
source3/modules/vfs_smb_traffic_analyzer.c
+++ b/
source3/modules/vfs_smb_traffic_analyzer.c
@@
-666,7
+666,7
@@
static int smb_traffic_analyzer_connect(struct vfs_handle_struct *handle,
rf_sock->ref_count++;
} else {
/* New connection. */
- rf_sock =
TALLOC_ZERO_P
(NULL, struct refcounted_sock);
+ rf_sock =
talloc_zero
(NULL, struct refcounted_sock);
if (rf_sock == NULL) {
SMB_VFS_NEXT_DISCONNECT(handle);
errno = ENOMEM;