]> git.stg.codes - stg.git/blobdiff - projects/sgauth/web.cpp
Add DIR_MODE to Makfile.conf in all projects
[stg.git] / projects / sgauth / web.cpp
index edafc9d84aa05eede4bdf12e196c6b1f2e2faeb5..6e2d4acadbed89607ba7feb3b5fc35b45261031c 100644 (file)
@@ -28,9 +28,9 @@
 #include <time.h>
 #include <libintl.h>
 
+#include "stg/common.h"
+#include "stg/ia.h"
 #include "web.h"
-#include "common.h"
-#include "ia_auth_c.h"
 
 extern WEB * web;
 extern IA_CLIENT_PROT * clnp;
@@ -66,6 +66,8 @@ for (int i = 0; i < DIR_NUM; i++)
     dirName[i] = "-";
 
 refreshPeriod = 5;
+
+memset(&ls, 0, sizeof(ls));
 }
 //---------------------------------------------------------------------------
 void WEB::Start()