]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove hacks
authorAlan T. DeKok <aland@freeradius.org>
Thu, 20 Jan 2022 17:30:54 +0000 (12:30 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 20 Jan 2022 17:30:54 +0000 (12:30 -0500)
src/lib/unlang/xlat_tokenize.c

index 7f54f021fcf0b6284c5c702d59db5543b10e1e69..bd2d00ffa0a3833385af60907aa1a3451f8c2875 100644 (file)
@@ -1275,14 +1275,6 @@ ssize_t xlat_print(fr_sbuff_t *out, xlat_exp_t const *head, fr_sbuff_escape_rule
                slen = xlat_print_node(out, node, e_rules);
                if (slen < 0) return slen - (fr_sbuff_used_total(out) - at_in);
 
-               if (node->next) {
-                       if ((node->type == XLAT_BOX) && (node->data.type != FR_TYPE_STRING)) {
-                               FR_SBUFF_IN_CHAR_RETURN(out, ' ');
-                       } else if ((node->next->type == XLAT_BOX) && (node->next->data.type != FR_TYPE_STRING)) {
-                               FR_SBUFF_IN_CHAR_RETURN(out, ' ');
-                       }
-               }
-
                node = node->next;
        }