projects
/
breezed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a1fa7f4
)
automatic commit
author
Francois Fleuret
<francois@fleuret.org>
Fri, 6 Feb 2009 15:19:58 +0000
(16:19 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 6 Feb 2009 15:19:58 +0000
(16:19 +0100)
breezed.cc
patch
|
blob
|
history
diff --git
a/breezed.cc
b/breezed.cc
index
6f079b2
..
431cde3
100644
(file)
--- a/
breezed.cc
+++ b/
breezed.cc
@@
-41,7
+41,7
@@
const int minor_version_number = 0;
const int buffer_size = 1024;
const int buffer_size = 1024;
-const char *default_confguration_file = "/etc/breezed.conf";
+const char *default_conf
i
guration_file = "/etc/breezed.conf";
// The time period to check the temperature.
const int polling_delay = 5;
// The time period to check the temperature.
const int polling_delay = 5;
@@
-182,8
+182,8
@@
int main(int argc, char **argv) {
char buffer[buffer_size], token[buffer_size];
char buffer[buffer_size], token[buffer_size];
- configuration_file = new char[strlen(default_confguration_file) + 1];
- strcpy(configuration_file, default_confguration_file);
+ configuration_file = new char[strlen(default_conf
i
guration_file) + 1];
+ strcpy(configuration_file, default_conf
i
guration_file);
int i = 1;
while(i < argc) {
int i = 1;
while(i < argc) {