From: Francois Fleuret Date: Fri, 6 Feb 2009 15:19:58 +0000 (+0100) Subject: automatic commit X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=750d2fa8cc39092716eb832cba4c709e36080013;p=breezed.git automatic commit --- diff --git a/breezed.cc b/breezed.cc index 6f079b2..431cde3 100644 --- a/breezed.cc +++ b/breezed.cc @@ -41,7 +41,7 @@ const int minor_version_number = 0; const int buffer_size = 1024; -const char *default_confguration_file = "/etc/breezed.conf"; +const char *default_configuration_file = "/etc/breezed.conf"; // 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]; - configuration_file = new char[strlen(default_confguration_file) + 1]; - strcpy(configuration_file, default_confguration_file); + configuration_file = new char[strlen(default_configuration_file) + 1]; + strcpy(configuration_file, default_configuration_file); int i = 1; while(i < argc) {