summaryrefslogtreecommitdiff
path: root/conf.cpp
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:46 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:46 +0200
commit07706f56cd421bf8b101a5c0fe44674d36e161a0 (patch)
treebec8b45765788370fbd148d68e05d8b437e60670 /conf.cpp
parent56187184e11b085b82584d3b088c62f427aae83c (diff)
tagging ychat-0.5.1ychat-0.5.1
Diffstat (limited to 'conf.cpp')
-rwxr-xr-xconf.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/conf.cpp b/conf.cpp
index 5214edb..3ff71b8 100755
--- a/conf.cpp
+++ b/conf.cpp
@@ -1,7 +1,7 @@
// class conf implementation.
-#ifndef CONF_CXX
-#define CONF_CXX
+#ifndef s_conf_CXX
+#define s_conf_CXX
#include <fstream>
#include "conf.h"
@@ -20,7 +20,7 @@ conf::~conf()
void
conf::parse()
{
-#ifdef _VERBOSE
+#ifdef VERBOSE
cout << CFILEOK << get_name() << endl;
#endif
@@ -28,7 +28,7 @@ conf::parse()
if ( ! fs_conf )
{
-#ifdef _VERBOSE
+#ifdef VERBOSE
cout << CFILENO << get_name() << endl;
#endif
return;
@@ -60,7 +60,7 @@ conf::parse()
string s_val = s_token.substr( ui_pos+1, s_token.length() );
string s_key = s_token.substr( 0 , --ui_pos );
-#ifdef VERBOSE
+#ifdef VERBOSE2
cout << s_key << "=" << s_val << endl;
#endif