From ad2f4d93c2e98b1c0a0fb62919b9d94837aaca70 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 4 Apr 2011 21:35:58 +0300 Subject: [PATCH] Initialise 'user' field in IA_USER's constructor --- .../stargazer/plugins/authorization/inetaccess/inetaccess.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.h b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.h index e28aad8f..2d932d54 100644 --- a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.h +++ b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.h @@ -118,7 +118,8 @@ private: //----------------------------------------------------------------------------- struct IA_USER { IA_USER() - : lastSendAlive(0), + : user(NULL), + lastSendAlive(0), rnd(random()), port(0), protoVer(0), -- 2.44.2