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 c4759885d7c2aedf310739d9a2420ae1d67a0338 (commit)
from 23d3161d4bbe80da13bf3e7afb64242dc8b7236c (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=c4759885d7c2aedf310739d9a242…
commit c4759885d7c2aedf310739d9a2420ae1d67a0338
Author: Neels Hofmeyr <neels(a)hofmeyr.de>
Date: Tue Jan 16 02:10:48 2018 +0100
cosmetic: logging: if color is disabled, don't print ""
If color output is disabled, skip the empty snprintf() to (not) clear the ANSI
color.
Also, no need to use a format string of "%s", just pass the string constant
directly.
That is a micro optimisation as well as clarification of the code.
Change-Id: Ie7cb06de160830d2f8ee5718246c0fe311f68d49
-----------------------------------------------------------------------
Summary of changes:
src/logging.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications