Skip to content

Commit

Permalink
Re: Fix coverity issue 26. - add brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
zdohnal committed Feb 13, 2023
1 parent 350afab commit 9572492
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cupsfilters/texttotext.c
Original file line number Diff line number Diff line change
Expand Up @@ -1098,8 +1098,10 @@ cfFilterTextToText(int inputfd, // I - File descriptor input stream
close(fd);

if (iconv_close (cd) != 0)
{
if (log)
log(ld, CF_LOGLEVEL_DEBUG, "cfFilterTextToText: Error closing iconv encoding conversion session");
}
else
cd = (iconv_t) -1;

Expand Down

0 comments on commit 9572492

Please sign in to comment.