Recently Written · git

sad

sad (2f30.org simple audio daemon) with a Cygwin/OSS port on branch cygwin

git clone https://github.com/equwal/sad

Log | Files | Refs


commit d580122112b03b26b2c13e8ec6d792a4be09d63a
sin <sin@2f30.org>
2015-02-01 01:14:34 +0000

Use proper type for isrunning

 sad.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sad.c b/sad.c
index 02493c1..b6594e0 100644
--- 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