summaryrefslogtreecommitdiffstats
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:27:19 -0400
commit8c4eb50378af5b91ffd09ce69573a0e6a3386f41 (patch)
treecae192e3e9d76e1cfe1bff6eac32fb8ad55dff48
parent50646763f907afc79dbaf40ddafc396b4c5931ec (diff)
downloadsssd-8c4eb50378af5b91ffd09ce69573a0e6a3386f41.tar.gz
sssd-8c4eb50378af5b91ffd09ce69573a0e6a3386f41.tar.xz
sssd-8c4eb50378af5b91ffd09ce69573a0e6a3386f41.zip
Fix incorrect return value check
-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 3fedf07da..4872416bd 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);