From: Alan T. DeKok Date: Mon, 21 Aug 2023 14:41:15 +0000 (-0400) Subject: if there's no "next", then we don't need a comma X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=030ff0106a7c8b8de555423494e458ae03e331a6;p=thirdparty%2Ffreeradius-server.git if there's no "next", then we don't need a comma --- diff --git a/src/lib/util/pair_print.c b/src/lib/util/pair_print.c index 1a719ad4afd..7c7aa7717c0 100644 --- a/src/lib/util/pair_print.c +++ b/src/lib/util/pair_print.c @@ -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); }