X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..56bcf61076cf2e51bd6ae9f0f50b53d48444b684:/projects/sgauth/main.cpp 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++)