diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-02-02 08:39:45 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-02-02 13:08:36 +0100 |
commit | 5bf95a71ddfeb6d2a77d7b4f488a4f5cf57f00f0 (patch) | |
tree | 8b89c6182094a5e934e503e822e4cc850cbc298e /source4/smb_server/smb2 | |
parent | 4523a634cb1702f96cc41099d9761a073c7a6d49 (diff) | |
download | samba-5bf95a71ddfeb6d2a77d7b4f488a4f5cf57f00f0.tar.gz samba-5bf95a71ddfeb6d2a77d7b4f488a4f5cf57f00f0.tar.bz2 samba-5bf95a71ddfeb6d2a77d7b4f488a4f5cf57f00f0.zip |
s4:smb_server: s/private/private_data
metze
Diffstat (limited to 'source4/smb_server/smb2')
-rw-r--r-- | source4/smb_server/smb2/find.c | 4 | ||||
-rw-r--r-- | source4/smb_server/smb2/receive.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/smb_server/smb2/find.c b/source4/smb_server/smb2/find.c index 32b280c5c2..10fcda9434 100644 --- a/source4/smb_server/smb2/find.c +++ b/source4/smb_server/smb2/find.c @@ -40,9 +40,9 @@ struct smb2srv_find_state { }; /* callback function for SMB2 Find */ -static bool smb2srv_find_callback(void *private, const union smb_search_data *file) +static bool smb2srv_find_callback(void *private_data, const union smb_search_data *file) { - struct smb2srv_find_state *state = talloc_get_type(private, struct smb2srv_find_state); + struct smb2srv_find_state *state = talloc_get_type(private_data, struct smb2srv_find_state); struct smb2_find *info = state->info; uint32_t old_length; NTSTATUS status; diff --git a/source4/smb_server/smb2/receive.c b/source4/smb_server/smb2/receive.c index c3607f0a33..5a857e133f 100644 --- a/source4/smb_server/smb2/receive.c +++ b/source4/smb_server/smb2/receive.c @@ -449,9 +449,9 @@ notcon: return NT_STATUS_OK; } -NTSTATUS smbsrv_recv_smb2_request(void *private, DATA_BLOB blob) +NTSTATUS smbsrv_recv_smb2_request(void *private_data, DATA_BLOB blob) { - struct smbsrv_connection *smb_conn = talloc_get_type(private, struct smbsrv_connection); + struct smbsrv_connection *smb_conn = talloc_get_type(private_data, struct smbsrv_connection); struct smb2srv_request *req; struct timeval cur_time = timeval_current(); uint32_t protocol_version; |