mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
level should be a uint32 in enum_ports function.
(This used to be commit 121db5b682
)
This commit is contained in:
parent
69e2a9d7fa
commit
354878f76f
@ -26,7 +26,7 @@ PyObject *spoolss_enumports(PyObject *self, PyObject *args, PyObject *kw)
|
||||
{
|
||||
WERROR werror;
|
||||
PyObject *result = NULL, *creds = NULL;
|
||||
int level = 1;
|
||||
uint32 level = 1;
|
||||
uint32 i, needed, num_ports;
|
||||
static char *kwlist[] = {"server", "level", "creds", NULL};
|
||||
TALLOC_CTX *mem_ctx = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user