subprojects/talkatu.wrap

Mon, 18 Jan 2021 18:00:51 -0600

author
Arkadiy Illarionov <qarkai@gmail.com>
date
Mon, 18 Jan 2021 18:00:51 -0600
changeset 40715
206563c8b5c6
parent 40476
8702a89ef69b
child 41518
31072565a926
permissions
-rw-r--r--

zephyr_tzc_escape_msg and zephyr_tzc_deescape_str refactoring

* 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

Testing Done:
Compile.

Reviewed at https://reviews.imfreedom.org/r/434/

[wrap-hg]
directory = talkatu
url = https://keep.imfreedom.org/talkatu/talkatu
revision = default

mercurial