From 658bfd183905576ed5f4dbe57a2ee82711b6ac93 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:42 +0200 Subject: tagging ychat-0.7.9.0 --- src/conf/CVS/Entries | 3 +++ src/conf/CVS/Repository | 1 + src/conf/CVS/Root | 1 + src/conf/conf.cpp | 9 +-------- 4 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 src/conf/CVS/Entries create mode 100644 src/conf/CVS/Repository create mode 100644 src/conf/CVS/Root (limited to 'src/conf') diff --git a/src/conf/CVS/Entries b/src/conf/CVS/Entries new file mode 100644 index 0000000..cfb51ed --- /dev/null +++ b/src/conf/CVS/Entries @@ -0,0 +1,3 @@ +/conf.cpp/1.14/Sun Feb 27 06:28:53 2005// +/conf.h/1.11/Sun Feb 27 06:28:53 2005// +D diff --git a/src/conf/CVS/Repository b/src/conf/CVS/Repository new file mode 100644 index 0000000..28454e5 --- /dev/null +++ b/src/conf/CVS/Repository @@ -0,0 +1 @@ +ychat/src/conf diff --git a/src/conf/CVS/Root b/src/conf/CVS/Root new file mode 100644 index 0000000..745de68 --- /dev/null +++ b/src/conf/CVS/Root @@ -0,0 +1 @@ +:pserver:anonymous@buetow.org:/usr/home/cvs/cvsroot diff --git a/src/conf/conf.cpp b/src/conf/conf.cpp index 38c29c4..2e5893b 100755 --- a/src/conf/conf.cpp +++ b/src/conf/conf.cpp @@ -36,7 +36,6 @@ conf::conf( string s_conf, map* p_start_params ) : name::name( s_ cout << CFILEFA << endl; exit(1); } - else { cout << CFILEOK << "..." << endl; @@ -77,18 +76,12 @@ conf::parse_xml(TiXmlNode* p_node, vector* p_vec) { //cout << p_vec->size() << ": (Value:" << p_child->Value() << ") (Type:" << p_child->Type() << ")" << endl; - if ( strcmp(p_child->Value(),"config") == 0 ) - { - parse_xml(p_child, p_vec); - } - - else if ( strcmp(p_child->Value(),"category") == 0 ) + if ( strcmp(p_child->Value(),"category") == 0 ) { p_vec->push_back(p_child->ToElement()->Attribute("name")); parse_xml(p_child, p_vec); p_vec->pop_back(); } - else if ( strcmp(p_child->Value(),"option") == 0 ) { string s_option_name = ""; -- cgit v1.2.3