File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,13 @@ static const id_format_pair_t th10_msg_ed_fmts[] = {
207207 { 0 , NULL }
208208};
209209
210+ static const id_format_pair_t th20_msg_ed_fmts [] = {
211+ { 9 , "SS" },
212+ { 0 , NULL }
213+ };
214+
215+ /* NEWHU: 20 */
216+
210217static ssize_t
211218thmsg_value_to_data (
212219 const value_t * value ,
@@ -246,6 +253,9 @@ th06_find_format(unsigned int version, int id)
246253
247254 if (thmsg_opt_end ) {
248255 switch (version ) {
256+ /* NEWHU: 20 */
257+ case 20 :
258+ if ((ret = find_format (th20_msg_ed_fmts , id ))) break ; /* fallthrough */
249259 case 10 :
250260 case 11 :
251261 case 12 :
@@ -258,8 +268,6 @@ th06_find_format(unsigned int version, int id)
258268 case 18 :
259269 case 185 :
260270 case 19 :
261- case 20 :
262- /* NEWHU: 20 */
263271 ret = find_format (th10_msg_ed_fmts , id );
264272 break ;
265273 default :
You can’t perform that action at this time.
0 commit comments