diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-08 11:47:11 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-08 11:52:44 +1000 |
commit | c28096636abe2133f9e4dbded44289a275d16799 (patch) | |
tree | d8245c1df9c7a313642bf56506cea53d40a1222b | |
parent | 3ad4c9db207da30266613ebaebe27448fddbf51d (diff) | |
download | samba-c28096636abe2133f9e4dbded44289a275d16799.tar.gz samba-c28096636abe2133f9e4dbded44289a275d16799.tar.bz2 samba-c28096636abe2133f9e4dbded44289a275d16799.zip |
s4: 'index' is a libc function
-rw-r--r-- | source4/torture/smb2/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |