X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..3937740937e41c25c87a241c243e7ec7e6abf0f8:/projects/sgauth/web.h?ds=inline

diff --git a/projects/sgauth/web.h b/projects/sgauth/web.h
index b734f16b..be9e158d 100644
--- a/projects/sgauth/web.h
+++ b/projects/sgauth/web.h
@@ -65,8 +65,10 @@ public:
     void UpdateStat(const LOADSTAT & ls);
     void Start();
 private:
-
     void PrepareNet();
+    int SendReply();
+    int SendCSS();
+    int Redirect(const char * url);
 
     #ifdef WIN32
     WSADATA wsaData;
@@ -74,28 +76,15 @@ private:
     pthread_t thread;
     #endif
 
-    int         SendReply();
-    int         SendCSS();
-    int         Redirect(const char * url);
-
-    string      dirName[DIR_NUM];
-    int         res;
-    int         listenSocket;
-    int         outerSocket;
-    struct sockaddr_in listenAddr;
-    struct sockaddr_in outerAddr;
-    int         refreshPeriod;
+    string dirName[DIR_NUM];
+    int res;
+    int listenSocket;
+    int outerSocket;
+    int refreshPeriod;
 
-    uint32_t    listenWebAddr;
-    LOADSTAT    ls;
+    uint32_t listenWebAddr;
+    LOADSTAT ls;
 
     list<STG_MESSAGE> messages;
-
-    #ifndef WIN32
-    socklen_t   outerAddrLen;
-    #else
-    int         outerAddrLen;
-    #endif
 };
 //-----------------------------------------------------------------------------
-