From: Andre Noll Date: Sat, 12 Apr 2008 14:23:42 +0000 (+0200) Subject: audiod.c: Fix signal number in log output. X-Git-Tag: v0.3.3~81 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=ac3208b6651ae6e33d0dc8b6c408cc106cb613da;p=paraslash.git audiod.c: Fix signal number in log output. --- diff --git a/audiod.c b/audiod.c index aebc063f..c17a4ae4 100644 --- a/audiod.c +++ b/audiod.c @@ -757,13 +757,12 @@ static void signal_pre_select(struct sched *s, struct task *t) static void signal_post_select(struct sched *s, struct task *t) { struct signal_task *st = container_of(t, struct signal_task, task); - int signum; if (!FD_ISSET(st->fd, &s->rfds)) return; - signum = para_next_signal(); - switch (signum) { + st->signum = para_next_signal(); + switch (st->signum) { case SIGINT: case SIGTERM: case SIGHUP: