From 168735db6b7871a24987de32b0f98e95c6583e9a Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 20 Nov 2012 13:31:13 +0100 Subject: Indentation fix --- src/providers/ldap/sdap_async_groups.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/providers/ldap/sdap_async_groups.c') diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c index c5d1fa1a..26f36fb9 100644 --- a/src/providers/ldap/sdap_async_groups.c +++ b/src/providers/ldap/sdap_async_groups.c @@ -2050,8 +2050,7 @@ static errno_t sdap_nested_group_populate_users(TALLOC_CTX *mem_ctx, if (ret != EOK && ret != ENOENT) { DEBUG(1, ("Error checking cache for user entry\n")); goto done; - } - if (ret == EOK) { + } else if (ret == EOK) { /* The entry is cached but expired. Update the username * if needed. */ if (count != 1) { @@ -2075,9 +2074,7 @@ static errno_t sdap_nested_group_populate_users(TALLOC_CTX *mem_ctx, if (ret) goto done; ret = sysdb_set_user_attr(sysdb, sysdb_name, attrs, SYSDB_MOD_REP); if (ret != EOK) goto done; - } - else - { + } else { key.type = HASH_KEY_STRING; key.str = discard_const(original_dn); value.type = HASH_VALUE_PTR; -- cgit