summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-21 11:31:59 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-21 13:35:55 +1000
commit7ccebb49af8d7d77ce2f3e9124148e1f4100165c (patch)
tree5d3e48ed03bb7bab3eb9d20489e9409227878f53 /source4/libnet
parent61bdffbf8e6789e7fbac3f0432840059fe98ab17 (diff)
downloadsamba-7ccebb49af8d7d77ce2f3e9124148e1f4100165c.tar.gz
samba-7ccebb49af8d7d77ce2f3e9124148e1f4100165c.tar.bz2
samba-7ccebb49af8d7d77ce2f3e9124148e1f4100165c.zip
s4-pynet: accept None for target_dir in vampire
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/py_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c
index cdf8aebcb3..0592b3f503 100644
--- a/source4/libnet/py_net.c
+++ b/source4/libnet/py_net.c
@@ -277,7 +277,7 @@ static PyObject *py_net_vampire(py_net_Object *self, PyObject *args, PyObject *k
PyObject *ret;
struct libnet_Vampire r;
- if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s|s", discard_const_p(char *, kwnames),
+ if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s|z", discard_const_p(char *, kwnames),
&r.in.domain_name, &r.in.targetdir)) {
return NULL;
}