Skip to content

Commit 263655a

Browse files
nielsdosalexdowad
authored andcommitted
Use CK() macro to check the output function in mbfilter_unicode2sjis_emoji_sb()
1 parent 69543e6 commit 263655a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ int mbfilter_unicode2sjis_emoji_sb(int c, int *s1, mbfl_convert_filter *filter)
518518
}
519519
return 1;
520520
} else {
521-
(*filter->output_function)(c1, filter->data);
521+
CK((*filter->output_function)(c1, filter->data));
522522
}
523523
} else if (filter->status == 2) {
524524
int c1 = filter->cache;

0 commit comments

Comments
 (0)