From: Maxim Mamontov Date: Mon, 4 Apr 2011 18:35:58 +0000 (+0300) Subject: Initialise 'user' field in IA_USER's constructor X-Git-Tag: 2.407-rc3~90 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/ad2f4d93c2e98b1c0a0fb62919b9d94837aaca70 Initialise 'user' field in IA_USER's constructor --- 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),