summaryrefslogtreecommitdiffstats
path: root/tests/a5/a5_test.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-11-09 10:52:19 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-11-09 10:52:19 +0100
commit916423ef9585c7042730fdb17f55afc376565d32 (patch)
treee85bb297c99781fdea4cd61b39bf3e645a2f12ba /tests/a5/a5_test.c
parent834819471a024a98cf6062f1e20c75a9b9e26f88 (diff)
stats: Fix name prefix handling
Currently the having an unset prefix leads to an abort() in the statsd reporter due to an fprintf format string error. In addition the prefix cannot be reset to its initial state (NULL) by using 'no prefix', which just sets the prefix to the empty string, causing a single leading dot to appear in front of the name. This commit changes the implemenation to consistly use NULL for the unset name prefix ('no prefix') and to handle this case correctly in the statsd reporter. Sponsored-by: On-Waves ehf
Diffstat (limited to 'tests/a5/a5_test.c')
0 files changed, 0 insertions, 0 deletions