Fix typo in channel name valid check
Merge branch 'master' into c
update generated_c