]> git.stg.codes - stg.git/commitdiff
Initialise 'user' field in IA_USER's constructor
authorMaxim Mamontov <faust.madf@gmail.com>
Mon, 4 Apr 2011 18:35:58 +0000 (21:35 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Mon, 4 Apr 2011 18:35:58 +0000 (21:35 +0300)
projects/stargazer/plugins/authorization/inetaccess/inetaccess.h

index e28aad8f9c6c1fe7115a948eb0d27bb16ce1b9b3..2d932d54c1ba519f5495256c49762b47ba54a958 100644 (file)
@@ -118,7 +118,8 @@ private:
 //-----------------------------------------------------------------------------
 struct IA_USER {
     IA_USER()
 //-----------------------------------------------------------------------------
 struct IA_USER {
     IA_USER()
-        : lastSendAlive(0),
+        : user(NULL),
+          lastSendAlive(0),
           rnd(random()),
           port(0),
           protoVer(0),
           rnd(random()),
           port(0),
           protoVer(0),