From: Bjoern Sikora Date: Mon, 27 Jul 2009 12:34:34 +0000 (+0200) Subject: Fixed member naming. X-Git-Tag: v1.1~272 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=19f46a50e5c6a749f3e1c39a2a603f830803ad95;p=bpdyndnsd Fixed member naming. --- diff --git a/src/config.cpp b/src/config.cpp index a16db64..7bab10d 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -93,12 +93,12 @@ int Config::parse_cmd_line(int argc, char *argv[]) if(protocol == "dhs") { Service * service = new DHS(host,login,password); - this->services.push_back(service); + this->Services.push_back(service); } else if(protocol == "ods") { Service * service = new ODS(host,login,password); - this->services.push_back(service); + this->Services.push_back(service); } } else diff --git a/src/updater.cpp b/src/updater.cpp index 67baa1a..5bd8fc7 100644 --- a/src/updater.cpp +++ b/src/updater.cpp @@ -36,7 +36,7 @@ Updater::Updater(Config* _conf) */ Updater::~Updater() { - conf = NULL; + Conf = NULL; } @@ -65,7 +65,7 @@ Config* Updater::get_config() */ void Updater::update_services() { - list services = this->conf->get_services(); + list services = this->Conf->get_services(); string ip = "192.168.1.1";