From 3d652087604ca1c6a66d9fa319645aeec1cf1b7b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 23 Aug 2015 03:30:46 +0200 Subject: signal handlers that return should not modify errno MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-colour.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mds-colour.c') diff --git a/src/mds-colour.c b/src/mds-colour.c index c5151dc..b4b166d 100644 --- a/src/mds-colour.c +++ b/src/mds-colour.c @@ -477,6 +477,7 @@ int handle_set_colour(const char* recv_name, const char* recv_remove, const char */ void received_info(int signo) { + SIGHANDLER_START; size_t i; colour_list_entry_t* entry; (void) signo; @@ -489,6 +490,7 @@ void received_info(int signo) entry->value.bytes, entry->value.red, entry->value.green, entry->value.blue, entry->key_hash, entry->key); iprint("END DEFINED COLOURS"); + SIGHANDLER_END; } -- cgit v1.2.3-70-g09d2