From e75b991923cd538608e4f81f8b8b489a6aa3a21c Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 29 Sep 2014 20:14:16 +0100 Subject: Remember volatile --- ratox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ratox.c b/ratox.c index 99abe6e..874af80 100644 --- 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; -- cgit v1.2.3