diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-08 14:27:18 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-08 14:27:18 +0200 |
commit | 470c46ebc37ccf63f7301e6004c4c05c3b81f2a3 (patch) | |
tree | 13497b6d5c30f535f4dcd99c42c896c229662584 /src/mds-clipboard.c | |
parent | take care of some danger (diff) | |
download | mds-470c46ebc37ccf63f7301e6004c4c05c3b81f2a3.tar.gz mds-470c46ebc37ccf63f7301e6004c4c05c3b81f2a3.tar.bz2 mds-470c46ebc37ccf63f7301e6004c4c05c3b81f2a3.tar.xz |
derp, danger is volatile and atomic
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-clipboard.c')
-rw-r--r-- | src/mds-clipboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-clipboard.c b/src/mds-clipboard.c index a726c52..8cd9bea 100644 --- a/src/mds-clipboard.c +++ b/src/mds-clipboard.c @@ -85,7 +85,7 @@ static clipitem_t* clipboard[CLIPBOARD_LEVELS]; /** * Whether the server should free memory as soon as possible */ -static int danger = 0; +static volatile sig_atomic_t danger = 0; |