]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
map_to_request handles indentation already
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 8 Jul 2015 15:44:37 +0000 (11:44 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 8 Jul 2015 15:45:11 +0000 (11:45 -0400)
src/modules/rlm_ldap/attrmap.c

index 07bf5e0b66172a326b8cea51bdddc70bc32b092b..3c0c49b719a9df0f852af17928f7d63652a652b9 100644 (file)
@@ -309,7 +309,6 @@ int rlm_ldap_map_do(const rlm_ldap_t *inst, REQUEST *request, LDAP *handle,
        rlm_ldap_result_t       result;
        char const              *name;
 
-       RINDENT();
        for (map = expanded->maps; map != NULL; map = map->next) {
                int ret;
 
@@ -347,7 +346,7 @@ int rlm_ldap_map_do(const rlm_ldap_t *inst, REQUEST *request, LDAP *handle,
        next:
                ldap_value_free_len(result.values);
        }
-       REXDENT();
+
 
        /*
         *      Retrieve any valuepair attributes from the result, these are generic values specifying
@@ -360,7 +359,6 @@ int rlm_ldap_map_do(const rlm_ldap_t *inst, REQUEST *request, LDAP *handle,
                values = ldap_get_values_len(handle, entry, inst->valuepair_attr);
                count = ldap_count_values_len(values);
 
-               RINDENT();
                for (i = 0; i < count; i++) {
                        vp_map_t *attr;
                        char *value;
@@ -383,7 +381,6 @@ int rlm_ldap_map_do(const rlm_ldap_t *inst, REQUEST *request, LDAP *handle,
                        talloc_free(attr);
                        talloc_free(value);
                }
-               REXDENT();
                ldap_value_free_len(values);
        }