Skip to content

Commit

Permalink
Make 3rd parameter to NetUserEnum optional as documented
Browse files Browse the repository at this point in the history
  • Loading branch information
rupole committed Mar 9, 2006
1 parent 30e43cd commit 2bce53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win32/src/win32net/win32netuser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ PyObject *PyNetUserEnum(PyObject *self, PyObject *args)
// @pyparm int|filter|win32netcon.FILTER_NORMAL_ACCOUNT|The types of accounts to enumerate.
// @pyparm int|resumeHandle|0|A resume handle. See the return description for more information.
// @pyparm int|prefLen|MAX_PREFERRED_LENGTH|The preferred length of the data buffer.
if (!PyArg_ParseTuple(args, "Oii|ii", &obServer, &level, &filter, &resumeHandle, &dwPrefLen))
if (!PyArg_ParseTuple(args, "Oi|iii", &obServer, &level, &filter, &resumeHandle, &dwPrefLen))
return NULL;
if (!PyWinObject_AsWCHAR(obServer, &szServer, TRUE))
goto done;
Expand Down

0 comments on commit 2bce53b

Please sign in to comment.