git://developer.intra2net.com
/
bpdyndnsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3e0bfbf
)
Variables modified inside signal handlers should be volatile
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Wed, 6 Oct 2010 12:36:26 +0000 (14:36 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Wed, 6 Oct 2010 12:36:26 +0000 (14:36 +0200)
src/main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
8b038e0
..
6d00532
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-26,8
+26,8
@@
using namespace std;
Updater::Ptr updater;
-bool is_online = false;
-bool webcheck_enabled = false;
+volatile bool is_online = false;
+volatile bool webcheck_enabled = false;
/**
* Checks if a bpdyndnsd process is already running.