Fixed member naming.
authorBjoern Sikora <bjoern.sikora@intra2net.com>
Mon, 27 Jul 2009 12:34:34 +0000 (14:34 +0200)
committerBjoern Sikora <bjoern.sikora@intra2net.com>
Mon, 27 Jul 2009 12:34:34 +0000 (14:34 +0200)
src/config.cpp
src/updater.cpp

index a16db64..7bab10d 100644 (file)
@@ -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
index 67baa1a..5bd8fc7 100644 (file)
@@ -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<Service*> services = this->conf->get_services();
+    list<Service*> services = this->Conf->get_services();
 
     string ip = "192.168.1.1";