summaryrefslogtreecommitdiffstats
path: root/source4/auth/gensec/pygensec.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-01 01:13:20 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-12-01 02:33:06 +0100
commit8428311ce5c0fab9c5bbb3fbcbecd37fca472d93 (patch)
treeaa3a72f77d64e3489d8789b70b463090fa97c385 /source4/auth/gensec/pygensec.c
parentefd8fc0672ee48a40f5e302353ca63590a6d7b45 (diff)
downloadsamba-8428311ce5c0fab9c5bbb3fbcbecd37fca472d93.tar.gz
samba-8428311ce5c0fab9c5bbb3fbcbecd37fca472d93.tar.xz
samba-8428311ce5c0fab9c5bbb3fbcbecd37fca472d93.zip
pygensec: Fix initialization.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 1 02:33:06 CET 2010 on sn-devel-104
Diffstat (limited to 'source4/auth/gensec/pygensec.c')
-rw-r--r--source4/auth/gensec/pygensec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/pygensec.c b/source4/auth/gensec/pygensec.c
index 229a21bb53..e16ba37ca9 100644
--- a/source4/auth/gensec/pygensec.c
+++ b/source4/auth/gensec/pygensec.c
@@ -210,7 +210,7 @@ void initgensec(void)
PyObject *m;
Py_Security.tp_base = PyTalloc_GetObjectType();
- if (Py_Security.tp_base != NULL)
+ if (Py_Security.tp_base == NULL)
return;
if (PyType_Ready(&Py_Security) < 0)