]> granicus.if.org Git - php/commitdiff
fixed error handling on SJIS_Mobile (for SB/KDDI).
authorRui Hirokawa <hirokawa@php.net>
Wed, 3 Aug 2011 11:55:43 +0000 (11:55 +0000)
committerRui Hirokawa <hirokawa@php.net>
Wed, 3 Aug 2011 11:55:43 +0000 (11:55 +0000)
ext/mbstring/libmbfl/filters/mbfilter_sjis_mobile.c

index e2e59c502de29e94157fccb69a7b5294b62fc954..5653086647a5e611410a4f45ea23f8e10bae9d54 100644 (file)
@@ -157,7 +157,7 @@ const struct mbfl_convert_vtbl vtbl_wchar_sjis_kddi = {
        mbfl_filt_conv_common_ctor,
        mbfl_filt_conv_common_dtor,
        mbfl_filt_conv_wchar_sjis_mobile,
-       mbfl_filt_conv_common_flush
+       mbfl_filt_conv_sjis_mobile_flush
 };
 
 const struct mbfl_convert_vtbl vtbl_sjis_sb_wchar = {
@@ -175,7 +175,7 @@ const struct mbfl_convert_vtbl vtbl_wchar_sjis_sb = {
        mbfl_filt_conv_common_ctor,
        mbfl_filt_conv_common_dtor,
        mbfl_filt_conv_wchar_sjis_mobile,
-       mbfl_filt_conv_common_flush
+       mbfl_filt_conv_sjis_mobile_flush
 };
 
 const struct mbfl_convert_vtbl vtbl_sjis_docomo_pua_wchar = {