diff options
Diffstat (limited to 'src/miav_config.cc')
-rw-r--r-- | src/miav_config.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/miav_config.cc b/src/miav_config.cc index 9a6233b..2839c5c 100644 --- a/src/miav_config.cc +++ b/src/miav_config.cc @@ -31,6 +31,9 @@ /* * $Log$ + * Revision 1.9 2005/06/09 11:00:03 deva + * Added daemon code, and cleaned up using -Wall and -Werror + * * Revision 1.8 2005/05/03 08:31:59 deva * Removed the error object, and replaced it with a more generic info object. * @@ -88,7 +91,6 @@ MiavConfig::~MiavConfig() */ _cfg *MiavConfig::parseError(char* msg, char* line) { - char errbuf[512]; info->error("Error parsing file %s at line:\n\t%s\n\t%s\n", filename.c_str(), line, msg); return NULL; } @@ -263,7 +265,6 @@ _cfg *MiavConfig::findNode(char* node) if(!strcmp(node, cfg->name->c_str())) return cfg; cfg = cfg->next; } - char errbuf[256]; info->error("Request for nonexisting node \"%s\"!\n", node); return NULL; } |