X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..e2791d9aef50f35848ab391454048b3e01e1907b:/projects/sgauth/main.cpp?ds=sidebyside diff --git a/projects/sgauth/main.cpp b/projects/sgauth/main.cpp index 1aae7aa6..c7b2bfdc 100644 --- a/projects/sgauth/main.cpp +++ b/projects/sgauth/main.cpp @@ -105,6 +105,14 @@ private: }; //----------------------------------------------------------------------------- SETTINGS::SETTINGS() + : port(0), + localPort(0), + listenWebIP(0), + refreshPeriod(0), + daemon(false), + noWeb(false), + reconnect(false), + showPid(false) { confFile = "/etc/sgauth.conf"; } @@ -303,12 +311,6 @@ void Usage() printf("sgauth \n"); //TODO change to correct } //----------------------------------------------------------------------------- -void EventsFn(int) -{ -LOADSTAT ls; -clnp->GetStat(&ls); -} -//----------------------------------------------------------------------------- void SetDirName(const vector & dn, void *) { for (int j = 0; j < DIR_NUM; j++)