From c28096636abe2133f9e4dbded44289a275d16799 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 8 Sep 2009 11:47:11 +1000 Subject: s4: 'index' is a libc function --- source4/torture/smb2/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/smb2/dir.c b/source4/torture/smb2/dir.c index 4b44a50bbd..354085de2d 100644 --- a/source4/torture/smb2/dir.c +++ b/source4/torture/smb2/dir.c @@ -387,7 +387,7 @@ NTSTATUS torture_single_file_search(struct smb2_tree *tree, const char *pattern, uint8_t level, enum smb_search_data_level data_level, - int index, + int idx, union smb_search_data *d, uint_t *count, struct smb2_handle *h) @@ -404,7 +404,7 @@ NTSTATUS torture_single_file_search(struct smb2_tree *tree, status = smb2_find_level(tree, tree, &f, count, &d); if (NT_STATUS_IS_OK(status)) - fill_level_data(mem_ctx, &levels[index].data, d, *count, level, + fill_level_data(mem_ctx, &levels[idx].data, d, *count, level, data_level); return status; } -- cgit