]> git.stg.codes - stg.git/commitdiff
code correction: removal spaces
authorNaffanya <naffanya@naffanya.(none)>
Wed, 12 Jun 2013 11:03:52 +0000 (14:03 +0300)
committerNaffanya <naffanya@naffanya.(none)>
Wed, 12 Jun 2013 11:03:52 +0000 (14:03 +0300)
projects/stargazer/main.cpp
projects/stargazer/settings_impl.h

index 8d0f6d20a989a6747b02228e2fe97259c0f6edbc..09f0970f9fdb57dcc3a9ba99e301ca0b2347a82c 100644 (file)
@@ -266,7 +266,6 @@ if (settings->ReadSettings())
     STG_LOGGER & WriteServLog = GetStgLogger();
     if (settings->GetLogFileName() != "")
         WriteServLog.SetLogFileName(settings->GetLogFileName());
-
     WriteServLog("ReadSettings error. %s", settings->GetStrError().c_str());
     exit(1);
     }
@@ -280,7 +279,6 @@ if (settings->ReadSettings())
         }
     printfd(__FILE__, "--- End dump ---\n"); 
     /*************************************************************************************************/
-    
 #ifndef NO_DAEMON
 std::string startFile(settings->GetConfDir() + START_FILE);
 #endif
index 42f3541d1b90b7e68cfcf831af415d6732d84ef2..7dc742f52f42e0243bcd11e65bc800663e574b42 100644 (file)
@@ -97,8 +97,7 @@ public:
     const MODULE_SETTINGS & GetStoreModuleSettings() const
         { return storeModuleSettings; }
     const std::vector<MODULE_SETTINGS> & GetModulesSettings() const
-        { return modulesSettings; }
-                
+        { return modulesSettings; }                
     const std::vector<std::string> & GetScriptParams() const { return scriptParams; }
 
 private:
@@ -118,10 +117,8 @@ private:
     std::string rules;
     std::string logFile;
     std::string pidFile;
-    std::string monitorDir;
-        
+    std::string monitorDir;        
     std::vector<std::string> scriptParams;
-    
     bool        monitoring;
     unsigned    detailStatWritePeriod;
     unsigned    statWritePeriod;
@@ -140,8 +137,7 @@ private:
     bool        reconnectOnTariffChange;
 
     std::vector<MODULE_SETTINGS> modulesSettings;
-    MODULE_SETTINGS storeModuleSettings;
-    
+    MODULE_SETTINGS storeModuleSettings;    
     STG_LOGGER & logger;
 };
 //-----------------------------------------------------------------------------