summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-05-20 09:26:47 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-05-20 09:26:47 +0000
commitc548f6899f0d188ef3a5a3d7abbb3b32e9addaa6 (patch)
treeb5687ca854f5eb086f37ef227eea7733d2a3c3f3 /src/configuration.cpp
parent149efe91e50bf0e298761bb941e20ce4d8362314 (diff)
downloadmanaserv-c548f6899f0d188ef3a5a3d7abbb3b32e9addaa6.tar.gz
manaserv-c548f6899f0d188ef3a5a3d7abbb3b32e9addaa6.tar.bz2
manaserv-c548f6899f0d188ef3a5a3d7abbb3b32e9addaa6.tar.xz
manaserv-c548f6899f0d188ef3a5a3d7abbb3b32e9addaa6.zip
Changed ConnectionHandler and NetComputer into low-level base classes;
they are overloaded by client-aware classes. Forced statement syntax for loggers.
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index fd2bca41..c2a84b23 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -61,7 +61,7 @@ void Configuration::init(const std::string &filename)
xmlNodePtr node = xmlDocGetRootElement(doc);
if (!node || !xmlStrEqual(node->name, BAD_CAST "configuration")) {
- LOG_WARN("Warning: No configuration file (" << filename.c_str() << ")", 0)
+ LOG_WARN("Warning: No configuration file (" << filename.c_str() << ")", 0);
return;
}
@@ -126,7 +126,7 @@ void Configuration::write()
void Configuration::setValue(const std::string &key, std::string value)
{
- LOG_DEBUG("Configuration::setValue(" << key << ", " << value << ")", 2)
+ LOG_DEBUG("Configuration::setValue(" << key << ", " << value << ")", 2);
options[key] = value;