summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/py_security.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-04-24 09:17:08 +0200
committerAndrew Bartlett <abartlet@samba.org>2009-04-24 09:17:08 +0200
commit2ee9ee2c17ce435ce45a773f19302a7b474554c2 (patch)
tree2ea91c2d36664f02e001575be0591660190d86ed /source4/librpc/ndr/py_security.c
parentb82a204b9b2c28707ab7866a511ea4f5912826ac (diff)
parentaf6316d1500cfcedd5fd59ed0ddbba9aec9c3756 (diff)
downloadsamba-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/ndr/py_security.c')
-rw-r--r--source4/librpc/ndr/py_security.c2
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;