aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-colour.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-23 03:30:46 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-23 03:30:46 +0200
commit3d652087604ca1c6a66d9fa319645aeec1cf1b7b (patch)
tree0c54c322b6f053bdb4e898b6683c8190922f3539 /src/mds-colour.c
parentm + colour on selected items in lists and tables (diff)
downloadmds-3d652087604ca1c6a66d9fa319645aeec1cf1b7b.tar.gz
mds-3d652087604ca1c6a66d9fa319645aeec1cf1b7b.tar.bz2
mds-3d652087604ca1c6a66d9fa319645aeec1cf1b7b.tar.xz
signal handlers that return should not modify errno
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-colour.c2
1 files changed, 2 insertions, 0 deletions
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;
}