git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction of adding parameters' values in methods USER_IMPL::Connect, USER_IMPL...
[stg.git]
/
projects
/
stargazer
/
main.cpp
diff --git
a/projects/stargazer/main.cpp
b/projects/stargazer/main.cpp
index 8d0f6d20a989a6747b02228e2fe97259c0f6edbc..020af9dad817727d8f66f2a580f2b7e7e0de9c55 100644
(file)
--- a/
projects/stargazer/main.cpp
+++ b/
projects/stargazer/main.cpp
@@
-264,6
+264,7
@@
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());
@@
-278,9
+279,8
@@
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);
#endif
#ifndef NO_DAEMON
std::string startFile(settings->GetConfDir() + START_FILE);
#endif