diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
| commit | 07706f56cd421bf8b101a5c0fe44674d36e161a0 (patch) | |
| tree | bec8b45765788370fbd148d68e05d8b437e60670 /conf.cpp | |
| parent | 56187184e11b085b82584d3b088c62f427aae83c (diff) | |
tagging ychat-0.5.1ychat-0.5.1
Diffstat (limited to 'conf.cpp')
| -rwxr-xr-x | conf.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |
