From: Arran Cudbard-Bell Date: Sat, 16 May 2015 15:53:14 +0000 (-0400) Subject: Formatting X-Git-Tag: release_3_0_9~354 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f035b55e616a5fd5d34dba9d6361abb5f168cf96;p=thirdparty%2Ffreeradius-server.git Formatting --- diff --git a/src/main/tmpl.c b/src/main/tmpl.c index 95cd23ff6d5..e79faf73ef0 100644 --- a/src/main/tmpl.c +++ b/src/main/tmpl.c @@ -1595,9 +1595,7 @@ size_t tmpl_prints(char *out, size_t outlen, vp_tmpl_t const *vpt, DICT_ATTR con len = strlen(out); - if ((vpt->tmpl_tag == TAG_ANY) && (vpt->tmpl_num == NUM_ANY)) { - return len; - } + if ((vpt->tmpl_tag == TAG_ANY) && (vpt->tmpl_num == NUM_ANY)) return len; q = out + len; outlen -= len; @@ -1676,8 +1674,7 @@ size_t tmpl_prints(char *out, size_t outlen, vp_tmpl_t const *vpt, DICT_ATTR con return (q - out); case TMPL_TYPE_DATA: - return value_data_prints(out, outlen, vpt->tmpl_data_type, values, - &vpt->tmpl_data_value, vpt->tmpl_data_length, vpt->quote); + return value_data_prints(out, outlen, vpt->tmpl_data_type, values, &vpt->tmpl_data_value, vpt->quote); } if (outlen <= 3) {