1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

r2823: Patch from Brett Funderburg to pass create options parameter to

nt_create_andx() function.
This commit is contained in:
Tim Potter 2004-10-05 01:36:37 +00:00 committed by Gerald (Jerry) Carter
parent 30ae13cb9f
commit fa3e836564

View File

@ -149,7 +149,8 @@ static PyObject *py_smb_nt_create_andx(PyObject *self, PyObject *args,
cli_state_object *cli = (cli_state_object *)self;
static char *kwlist[] = { "filename", "desired_access",
"file_attributes", "share_access",
"create_disposition", NULL };
"create_disposition", "create_options",
NULL };
char *filename;
uint32 desired_access, file_attributes = 0,
share_access = FILE_SHARE_READ | FILE_SHARE_WRITE,
@ -159,7 +160,7 @@ static PyObject *py_smb_nt_create_andx(PyObject *self, PyObject *args,
/* Parse parameters */
if (!PyArg_ParseTupleAndKeywords(
args, kw, "si|iii", kwlist, &filename, &desired_access,
args, kw, "si|iiii", kwlist, &filename, &desired_access,
&file_attributes, &share_access, &create_disposition,
&create_options))
return NULL;