summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-29 20:14:16 +0100
committersin <sin@2f30.org>2014-09-29 20:14:16 +0100
commite75b991923cd538608e4f81f8b8b489a6aa3a21c (patch)
tree7dda041192023c77411b0183400057725b8a66c3 /ratox.c
parent29cbcf9f19f26d6bd6090957f33ae84598c2fb5a (diff)
Remember volatile
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;