From 5ec42a5eaebeb5f2b8dcd450da79aad9c10a26b0 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 17 Mar 2011 11:10:38 -0400 Subject: Fix incorrect return value check --- src/providers/ldap/sdap_async_accounts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers') 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); -- cgit