summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb2/find.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smb_server/smb2/find.c')
-rw-r--r--source4/smb_server/smb2/find.c4
1 files changed, 2 insertions, 2 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;