]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
minor rearrangement
authorAlan T. DeKok <aland@freeradius.org>
Tue, 18 Jan 2022 21:45:14 +0000 (16:45 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 18 Jan 2022 21:45:14 +0000 (16:45 -0500)
src/lib/unlang/xlat_tokenize.c

index 0c4824eb36e90192bb4f629c99b4490a5fb9ef6b..71bff4983fabef36d697ff3e2333f835460c5216 100644 (file)
@@ -1249,10 +1249,10 @@ ssize_t xlat_print(fr_sbuff_t *out, xlat_exp_t const *head, fr_sbuff_escape_rule
                if (slen < 0) return slen - (fr_sbuff_used_total(out) - at_in);
 
                if (node->next) {
-                       if ((node->next->type == XLAT_BOX) && (node->next->data.type != FR_TYPE_STRING)) {
-                               FR_SBUFF_IN_CHAR_RETURN(out, ' ',);
-                       } else if ((node->type == XLAT_BOX) && (node->data.type != FR_TYPE_STRING)) {
-                               FR_SBUFF_IN_CHAR_RETURN(out, ' ',);
+                       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, ' ');
                        }
                }