]> git.stg.codes - stg.git/blobdiff - projects/stargazer/main.cpp
Method GetParamValue and correction method Connect(user_imp)
[stg.git] / projects / stargazer / main.cpp
index c7bfb4aaa1756ad4d1b3a2a0bc780e45a39b6e46..020af9dad817727d8f66f2a580f2b7e7e0de9c55 100644 (file)
@@ -264,24 +264,23 @@ else
 if (settings->ReadSettings())
     {
     STG_LOGGER & WriteServLog = GetStgLogger();
+
     if (settings->GetLogFileName() != "")
         WriteServLog.SetLogFileName(settings->GetLogFileName());
 
     WriteServLog("ReadSettings error. %s", settings->GetStrError().c_str());
     exit(1);
     }
-/*************************************************************************************************/
-//вывод scriptParams
+    /*************************************************************************************************/
     printfd(__FILE__, "--- Script params dump ---\n");
     std::vector<std::string>::const_iterator it(settings->GetScriptParams().begin());
     while (it != settings->GetScriptParams().end())
-    {
+        {
         printfd(__FILE__, "%s\n", it->c_str());
-        it++;
-    }
-    printfd(__FILE__, "--- End dump ---\n"); 
-/*************************************************************************************************/
-    
+        ++it;
+        }
+    printfd(__FILE__, "--- End dump ---\n");
+    /*************************************************************************************************/
 #ifndef NO_DAEMON
 std::string startFile(settings->GetConfDir() + START_FILE);
 #endif