This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via 916423ef9585c7042730fdb17f55afc376565d32 (commit)
from 834819471a024a98cf6062f1e20c75a9b9e26f88 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=916423ef9585c7042730fdb17f55…
commit 916423ef9585c7042730fdb17f55afc376565d32
Author: Jacob Erlbeck <jerlbeck(a)sysmocom.de>
Date: Mon Nov 9 10:52:19 2015 +0100
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
-----------------------------------------------------------------------
Summary of changes:
src/stats.c | 34 +++++++++++++++++++++++-----------
1 file changed, 23 insertions(+), 11 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications