zephyr_tzc_escape_msg and zephyr_tzc_deescape_str refactoring

Review Request #434 — Created Jan. 15, 2021 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default
12f17845e9ae

Reviewers

  • Move declarations before implementations. Also slightly change local_zephyr_normalize signature
  • Early return from functions
  • Get strlen(message) once
  • Convert while to for
  • Simplify escaping
  • Remove nulling of last char since newmsg already initialized to 0's

Compile.

    Loading...