summaryrefslogtreecommitdiffstats
path: root/src/python/pysss.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-03-14 17:27:05 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-04-12 09:22:15 -0400
commit7ffaa2afb9e03a6f0b9c602c0f03b2074ea33eac (patch)
treeabc9f4bfcc276834c922463120b35c66ee3bd033 /src/python/pysss.c
parent0a7a138cd47dcff3f4d53da2db4fa155708b8aeb (diff)
downloadsssd-7ffaa2afb9e03a6f0b9c602c0f03b2074ea33eac.tar.gz
sssd-7ffaa2afb9e03a6f0b9c602c0f03b2074ea33eac.tar.xz
sssd-7ffaa2afb9e03a6f0b9c602c0f03b2074ea33eac.zip
sysdb: convert sysdb_getpwnam
Diffstat (limited to 'src/python/pysss.c')
-rw-r--r--src/python/pysss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/pysss.c b/src/python/pysss.c
index 48c5aea2e..cd5c588f3 100644
--- a/src/python/pysss.c
+++ b/src/python/pysss.c
@@ -268,7 +268,7 @@ static PyObject *py_sss_useradd(PySssLocalObject *self,
tctx->sysdb,
tctx->octx->name,
tctx->local,
- &tctx->octx);
+ tctx->octx);
if (ret != EOK) {
PyErr_SetSssError(ret);
goto fail;
@@ -375,7 +375,7 @@ static PyObject *py_sss_userdel(PySssLocalObject *self,
tctx->sysdb,
tctx->octx->name,
tctx->local,
- &tctx->octx);
+ tctx->octx);
if (ret != EOK) {
PyErr_SetSssError(ret);
goto fail;