summaryrefslogtreecommitdiff
path: root/source3/python/py_smb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/py_smb.c')
-rw-r--r--source3/python/py_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_smb.c b/source3/python/py_smb.c
index 679c113f39..f92a9e258d 100644
--- a/source3/python/py_smb.c
+++ b/source3/python/py_smb.c
@@ -43,7 +43,7 @@ static PyObject *py_smb_connect(PyObject *self, PyObject *args, PyObject *kw)
if (!PyArg_ParseTupleAndKeywords(args, kw, "s", kwlist, &server))
return NULL;
- if (!(cli = cli_initialise(NULL)))
+ if (!(cli = cli_initialise()))
return NULL;
ZERO_STRUCT(ip);