PelionIoT / mbed-trace

mbed trace library
Apache License 2.0
18 stars 15 forks source link

Ensure tr_array doesn't print <null> when len == 0 #65

Closed kjbracey closed 7 years ago

kjbracey commented 7 years ago

tr_array(NULL, 0) would output "<null>" - this is unhelpful, as a number of parts of the system regard (NULL, 0) as being a legal empty value. Make this output "" instead.

JanneKiiskila commented 7 years ago

Related to this PR; https://github.com/ARMmbed/mbed-client/pull/441