diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-04-24 09:17:08 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-04-24 09:17:08 +0200 |
commit | 2ee9ee2c17ce435ce45a773f19302a7b474554c2 (patch) | |
tree | 2ea91c2d36664f02e001575be0591660190d86ed /source4/librpc | |
parent | b82a204b9b2c28707ab7866a511ea4f5912826ac (diff) | |
parent | af6316d1500cfcedd5fd59ed0ddbba9aec9c3756 (diff) | |
download | samba-2ee9ee2c17ce435ce45a773f19302a7b474554c2.tar.gz samba-2ee9ee2c17ce435ce45a773f19302a7b474554c2.tar.bz2 samba-2ee9ee2c17ce435ce45a773f19302a7b474554c2.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/ndr/py_security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/ndr/py_security.c b/source4/librpc/ndr/py_security.c index 43c1d50d66..1b54aab02a 100644 --- a/source4/librpc/ndr/py_security.c +++ b/source4/librpc/ndr/py_security.c @@ -198,7 +198,7 @@ static PyObject *py_descriptor_as_sddl(PyObject *self, PyObject *args) if (!PyArg_ParseTuple(args, "|O", &py_sid)) return NULL; - if (py_sid == Py_None) + if (py_sid != Py_None) sid = py_talloc_get_ptr(py_sid); else sid = NULL; |