summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
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;