]> git.stg.codes - stg.git/blobdiff - projects/stargazer/main.cpp
Reduced scopes plus graceful connection shutdown.
[stg.git] / projects / stargazer / main.cpp
index 7cc8eccc6e54c32f7ead49ad48bd01357b7d88bf..200fd2a664e15f46e1d2228b20ba6f4db509bdd3 100644 (file)
@@ -271,6 +271,7 @@ if (settings->ReadSettings())
     WriteServLog("ReadSettings error. %s", settings->GetStrError().c_str());
     exit(1);
     }
+
 #ifndef NO_DAEMON
 std::string startFile(settings->GetConfDir() + START_FILE);
 #endif
@@ -463,7 +464,7 @@ while (true)
                 }
             break;
         default:
-            WriteServLog("Ignore signel %d", sig);
+            WriteServLog("Ignore signal %d", sig);
             break;
         }
     if (stop)