commit e75b991923cd538608e4f81f8b8b489a6aa3a21c
parent 29cbcf9f19f26d6bd6090957f33ae84598c2fb5a
Author: sin <sin@2f30.org>
Date: Mon, 29 Sep 2014 20:14:16 +0100
Remember volatile
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ratox.c b/ratox.c
@@ -165,7 +165,7 @@ static Tox_Options toxopt;
static uint8_t *passphrase;
static uint32_t pplen;
static uint8_t toilet[PIPE_BUF];
-static sig_atomic_t running = 1;
+static volatile sig_atomic_t running = 1;
static int ipv6;
static int tcpflag;
static int proxyflag;