Skip to content

Commit

Permalink
check return code
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Nov 13, 2024
1 parent aba4fa9 commit ca7a458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/util/pair_print.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ static void fr_pair_list_log_sbuff(fr_log_t const *log, int lvl, fr_pair_t *pare

default:
(void) fr_sbuff_in_strcpy(sbuff, " = ");
fr_value_box_print_quoted(sbuff, &vp->data, T_DOUBLE_QUOTED_STRING);
if (fr_value_box_print_quoted(sbuff, &vp->data, T_DOUBLE_QUOTED_STRING)< 0) break;

fr_log(log, L_DBG, file, line, "%*s%*s", lvl * 2, "",
(int) fr_sbuff_used(sbuff), fr_sbuff_start(sbuff));
Expand Down

0 comments on commit ca7a458

Please sign in to comment.