]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
if there's no "next", then we don't need a comma
authorAlan T. DeKok <aland@freeradius.org>
Mon, 21 Aug 2023 14:41:15 +0000 (10:41 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 21 Aug 2023 14:41:15 +0000 (10:41 -0400)
src/lib/util/pair_print.c

index 1a719ad4afdd916dee618c3182c27703ca0fdcec..7c7aa7717c04707883f0af0498077bca9e7e6df2 100644 (file)
@@ -263,7 +263,6 @@ redo:
                *vp_p = next;
 
                if (!next) {
-                       if (comma) FR_SBUFF_IN_STRCPY_LITERAL_RETURN(&our_out, ", ");
                        FR_SBUFF_SET_RETURN(out, &our_out);
                }