summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-03-05 13:04:53 +0100
committerStephen Gallagher <sgallagh@redhat.com>2012-03-05 15:52:37 -0500
commitd93f95ad2fc75b49c477cefb4986c98730ac550e (patch)
tree9828a0b241bbda37ecb50186f5ae803b4fc69954
parent39b839390b1070175a0666ab8934cc658646940f (diff)
downloadsssd-d93f95ad2fc75b49c477cefb4986c98730ac550e.tar.gz
sssd-d93f95ad2fc75b49c477cefb4986c98730ac550e.tar.xz
sssd-d93f95ad2fc75b49c477cefb4986c98730ac550e.zip
Use proper errno code
-rw-r--r--src/providers/ldap/sdap_async_initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c
index 1e2e6178d..a4cac9532 100644
--- a/src/providers/ldap/sdap_async_initgroups.c
+++ b/src/providers/ldap/sdap_async_initgroups.c
@@ -2204,7 +2204,7 @@ static void rfc2307bis_nested_groups_process(struct tevent_req *subreq)
struct sysdb_attrs *,
state->parents_count + count + 1);
if (!state->ldap_parents) {
- tevent_req_error(req, ret);
+ tevent_req_error(req, ENOMEM);
return;
}