commit d580122112b03b26b2c13e8ec6d792a4be09d63a parent 998e916fcc7f1c43a10ad24a6219694e52c47e07 Author: sin <sin@2f30.org> Date: Sun, 1 Feb 2015 01:14:34 +0000 Use proper type for isrunning Diffstat:
M | sad.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sad.c b/sad.c @@ -22,7 +22,7 @@ int fdmax; char *argv0; static int listenfd = -1; -static int isrunning = 1; +static volatile sig_atomic_t isrunning = 1; static char *socketpath = "/tmp/sad-sock"; static int