summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-03-17 11:10:38 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-03-17 11:36:52 -0400
commit436c8812890079ad5b99ae71481d1c0d9805a018 (patch)
tree667d1e1c04c0eb36ab71ee2710eb34c1d64845a0 /src
parent6ebae9d53672aba7fab0543e392d87de95cea24c (diff)
downloadsssd_unused-436c8812890079ad5b99ae71481d1c0d9805a018.tar.gz
sssd_unused-436c8812890079ad5b99ae71481d1c0d9805a018.tar.xz
sssd_unused-436c8812890079ad5b99ae71481d1c0d9805a018.zip
Fix incorrect return value check
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_accounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c
index 3fedf07d..4872416b 100644
--- a/src/providers/ldap/sdap_async_accounts.c
+++ b/src/providers/ldap/sdap_async_accounts.c
@@ -1700,7 +1700,7 @@ static void sdap_get_groups_done(struct tevent_req *subreq)
talloc_zfree(subreq);
if (ret) {
sysret = sysdb_transaction_cancel(state->sysdb);
- if (ret != EOK) {
+ if (sysret != EOK) {
DEBUG(0, ("Could not cancel sysdb transaction\n"));
}
tevent_req_error(req, ret);