Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions thmsg/thmsg06.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,13 @@ static const id_format_pair_t th10_msg_ed_fmts[] = {
{ 0, NULL }
};

static const id_format_pair_t th20_msg_ed_fmts[] = {
{ 9, "SS" },
{ 0, NULL }
};

/* NEWHU: 20 */

static ssize_t
thmsg_value_to_data(
const value_t* value,
Expand Down Expand Up @@ -246,6 +253,9 @@ th06_find_format(unsigned int version, int id)

if (thmsg_opt_end) {
switch (version) {
/* NEWHU: 20 */
case 20:
if ((ret = find_format(th20_msg_ed_fmts, id))) break; /* fallthrough */
case 10:
case 11:
case 12:
Expand All @@ -258,8 +268,6 @@ th06_find_format(unsigned int version, int id)
case 18:
case 185:
case 19:
case 20:
/* NEWHU: 20 */
ret = find_format(th10_msg_ed_fmts, id);
break;
default:
Expand Down
Loading