summaryrefslogtreecommitdiff
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:41 -0500
commit21f666d6a88dfa9cd7e984c25464dd56fe170598 (patch)
treec62b5244d54d1506b18b6dbb6b9c3f399cb2609b
parentc0828b258cc5b970d03881f1716a392c57a7fe13 (diff)
downloadsssd-21f666d6a88dfa9cd7e984c25464dd56fe170598.tar.gz
sssd-21f666d6a88dfa9cd7e984c25464dd56fe170598.tar.bz2
sssd-21f666d6a88dfa9cd7e984c25464dd56fe170598.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 1e2e6178..a4cac953 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;
}