From: Arran Cudbard-Bell Date: Wed, 8 Jul 2015 15:44:37 +0000 (-0400) Subject: map_to_request handles indentation already X-Git-Tag: release_3_0_10~373 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6eb4b0e574196a32ee76aaf014cd82028884fb6;p=thirdparty%2Ffreeradius-server.git map_to_request handles indentation already --- diff --git a/src/modules/rlm_ldap/attrmap.c b/src/modules/rlm_ldap/attrmap.c index 07bf5e0b661..3c0c49b719a 100644 --- a/src/modules/rlm_ldap/attrmap.c +++ b/src/modules/rlm_ldap/attrmap.c @@ -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); }