color: Simplify color error handling.
authorAndre Noll <maan@systemlinux.org>
Sun, 21 Nov 2010 20:48:42 +0000 (21:48 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 5 Dec 2010 17:52:40 +0000 (18:52 +0100)
commitccf5026c5cbe90cf3b3a07531b0946aa19cdd611
tree3f86a01cf8cee5af54a58b2973fc204532c8607f
parent924c3764da9cecc2bd72fa2cd0b7f97b5a24650f
color: Simplify color error handling.

We exit on errors anyway, so get rid of the return value of
color_parse() and daemon_set_log_color() and abort immediately rather
than returning -1. Add the familiar "_or_die" suffix to these functions
to make it clear that no error handling is necessary in the caller.
audiod.c
color.c
color.h
daemon.c
daemon.h
server.c