const char *kwlist[] = { "directory", "mask", "attribs",
"info_level", NULL };
NTSTATUS (*callback_fn)(struct file_info *, const char *, void *) =
- &list_helper;
+ list_helper;
if (!ParseTupleAndKeywords(args, kwds, "z|sII:list", kwlist,
&base_dir, &user_mask, &attribute,
}
if (info_level == SMB2_FIND_POSIX_INFORMATION) {
- callback_fn = &list_posix_helper;
+ callback_fn = list_posix_helper;
}
status = do_listing(self, base_dir, user_mask, attribute,
info_level, callback_fn, result);