]> 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 09f0970f9fdb57dcc3a9ba99e301ca0b2347a82c..020af9dad817727d8f66f2a580f2b7e7e0de9c55 100644 (file)
@@ -264,8 +264,10 @@ else
 if (settings->ReadSettings())
     {
     STG_LOGGER & WriteServLog = GetStgLogger();
 if (settings->ReadSettings())
     {
     STG_LOGGER & WriteServLog = GetStgLogger();
+
     if (settings->GetLogFileName() != "")
         WriteServLog.SetLogFileName(settings->GetLogFileName());
     if (settings->GetLogFileName() != "")
         WriteServLog.SetLogFileName(settings->GetLogFileName());
+
     WriteServLog("ReadSettings error. %s", settings->GetStrError().c_str());
     exit(1);
     }
     WriteServLog("ReadSettings error. %s", settings->GetStrError().c_str());
     exit(1);
     }
@@ -277,7 +279,7 @@ if (settings->ReadSettings())
         printfd(__FILE__, "%s\n", it->c_str());
         ++it;
         }
         printfd(__FILE__, "%s\n", it->c_str());
         ++it;
         }
-    printfd(__FILE__, "--- End dump ---\n"); 
+    printfd(__FILE__, "--- End dump ---\n");
     /*************************************************************************************************/
 #ifndef NO_DAEMON
 std::string startFile(settings->GetConfDir() + START_FILE);
     /*************************************************************************************************/
 #ifndef NO_DAEMON
 std::string startFile(settings->GetConfDir() + START_FILE);