]> git.tuebingen.mpg.de Git - paraslash.git/commit
daemon: Introduce daemon_init_colors_or_die().
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 7 Oct 2014 16:16:14 +0000 (16:16 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 8 Feb 2015 14:58:14 +0000 (15:58 +0100)
commit3943f98061a55f373991ecb2e4429ec02baf0555
tree3a0120b8fe7c609cf3e15a4fca7fa6e4e5db1db8
parent6ceaf430c5d331db83b591ae02d9eef5c87a31df
daemon: Introduce daemon_init_colors_or_die().

The log color logic is already contained in para_server and
para_audiod. Let's use a single function in daemon.c for this
purpose.

daemon_set_default_log_colors() and daemon_set_log_color_or_die()
can be made static since they are only called from daemon.c now.
audiod.c
daemon.c
daemon.h
server.c