zephyr_tzc_escape_msg and zephyr_tzc_deescape_str refactoring
Review Request #434 — Created Jan. 15, 2021 and submitted — Latest diff uploaded
- Move declarations before implementations. Also slightly change
local_zephyr_normalize
signature - Early return from functions
- Get
strlen(message)
once - Convert
while
tofor
- Simplify escaping
- Remove nulling of last char since
newmsg
already initialized to 0's
Compile.