]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/authorization/inetaccess/inetaccess.h
Initialise 'user' field in IA_USER's constructor
[stg.git] / projects / stargazer / plugins / authorization / inetaccess / inetaccess.h
index e28aad8f9c6c1fe7115a948eb0d27bb16ce1b9b3..2d932d54c1ba519f5495256c49762b47ba54a958 100644 (file)
@@ -118,7 +118,8 @@ private:
 //-----------------------------------------------------------------------------
 struct IA_USER {
     IA_USER()
-        : lastSendAlive(0),
+        : user(NULL),
+          lastSendAlive(0),
           rnd(random()),
           port(0),
           protoVer(0),