From 4e39e55ec5b6dbad8596a30fc5ab4bb54abbe344 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 28 Mar 2011 16:11:40 +0200 Subject: Fix typo in sdap_nested_group_process_step --- src/providers/ldap/sdap_async_accounts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c index 96104dd62..003cf037d 100644 --- a/src/providers/ldap/sdap_async_accounts.c +++ b/src/providers/ldap/sdap_async_accounts.c @@ -3317,7 +3317,7 @@ static errno_t sdap_nested_group_process_step(struct tevent_req *req) if (ret != EOK && ret != ENOENT) { ret = EIO; goto error; - } else if (ret == ENOENT || count == 9) { + } else if (ret == ENOENT || count == 0) { if (ret == EOK) talloc_zfree(msgs); /* It wasn't found in the groups either -- cgit