summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-11-20 13:31:13 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-12-04 11:28:24 +0100
commit168735db6b7871a24987de32b0f98e95c6583e9a (patch)
treead6c2ed85780d55cdbdf87d0866b208836201d76 /src
parentbd0baea783295bd22aeabdd7f4ce3aa31eb6144d (diff)
downloadsssd-168735db6b7871a24987de32b0f98e95c6583e9a.tar.gz
sssd-168735db6b7871a24987de32b0f98e95c6583e9a.tar.bz2
sssd-168735db6b7871a24987de32b0f98e95c6583e9a.zip
Indentation fix
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_groups.c7
1 files changed, 2 insertions, 5 deletions
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;