summaryrefslogtreecommitdiff
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 14:20:31 -0400
commit5ec42a5eaebeb5f2b8dcd450da79aad9c10a26b0 (patch)
treedf4a24a1801809f6aa1d6d504d7269721670cebd /src
parent6d5c99032baa803e6222591f0683f435f16bc1e1 (diff)
downloadsssd-5ec42a5eaebeb5f2b8dcd450da79aad9c10a26b0.tar.gz
sssd-5ec42a5eaebeb5f2b8dcd450da79aad9c10a26b0.tar.bz2
sssd-5ec42a5eaebeb5f2b8dcd450da79aad9c10a26b0.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);