summaryrefslogtreecommitdiff
path: root/src/miav_config.cc
diff options
context:
space:
mode:
authordeva <deva>2005-06-09 11:00:03 +0000
committerdeva <deva>2005-06-09 11:00:03 +0000
commit4bede1d02de893b450f5eb581aa0a384246c162d (patch)
treec4863551b362fe1949642f70c08df46fc68d1119 /src/miav_config.cc
parent64efd74ecfa761c83b70ec2374bf448b6e42e254 (diff)
Added daemon code, and cleaned up using -Wall and -Werror
Diffstat (limited to 'src/miav_config.cc')
-rw-r--r--src/miav_config.cc5
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;
}