summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-08-06 01:07:07 +0000
committerTim Potter <tpot@samba.org>2002-08-06 01:07:07 +0000
commit269c713edf9554e3b0670a8ed6b606e743e807f7 (patch)
treecf74982e231ebd4b70b4d3258d451c503aae366a /source3/python
parent4da476001e13dd032059ddaf72676c998089272d (diff)
downloadsamba-269c713edf9554e3b0670a8ed6b606e743e807f7.tar.gz
samba-269c713edf9554e3b0670a8ed6b606e743e807f7.tar.bz2
samba-269c713edf9554e3b0670a8ed6b606e743e807f7.zip
Compile fix for new cli_lsa_enum_trust_dom() argument list.
(This used to be commit 2f46bdeb4fa1d32fe948af5d7fa80480ff2d2c86)
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_lsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/py_lsa.c b/source3/python/py_lsa.c
index 21e6463c5f..0584cf716b 100644
--- a/source3/python/py_lsa.c
+++ b/source3/python/py_lsa.c
@@ -276,7 +276,7 @@ static PyObject *lsa_enum_trust_dom(PyObject *self, PyObject *args)
{
lsa_policy_hnd_object *hnd = (lsa_policy_hnd_object *)self;
NTSTATUS ntstatus;
- uint32 enum_ctx = 0, num_domains, i, pref_num_domains = 0;
+ uint32 enum_ctx = 0, num_domains, i;
char **domain_names;
DOM_SID *domain_sids;
PyObject *result;
@@ -286,7 +286,7 @@ static PyObject *lsa_enum_trust_dom(PyObject *self, PyObject *args)
ntstatus = cli_lsa_enum_trust_dom(
hnd->cli, hnd->mem_ctx, &hnd->pol, &enum_ctx,
- &pref_num_domains, &num_domains, &domain_names, &domain_sids);
+ &num_domains, &domain_names, &domain_sids);
if (!NT_STATUS_IS_OK(ntstatus)) {
PyErr_SetObject(lsa_ntstatus, py_ntstatus_tuple(ntstatus));