Skip to content

Commit

Permalink
Fix non-volatile variable access from a signal handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcus Holland-Moritz committed Feb 14, 2012
1 parent 11027d3 commit 7686645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion balance.c
Expand Up @@ -143,7 +143,7 @@ static int sockbufsize = 32768;

static int connect_timeout;

static sig_atomic_t interrupted = 0;
static volatile sig_atomic_t interrupted = 0;

static char *bindhost = NULL;
static char *outbindhost = NULL;
Expand Down

0 comments on commit 7686645

Please sign in to comment.