From 3a0773b72ce785fd13021f4624f525a23cd65f18 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Tue, 7 Dec 2010 17:21:23 +0200 Subject: [PATCH 1/1] =?utf8?q?=D0=98=D0=B7=20=D0=BF=D0=BB=D0=B0=D0=B3?= =?utf8?q?=D0=B8=D0=BD=D0=B0=20=D0=B0=D0=B2=D1=82=D0=BE=D1=80=D0=B8=D0=B7?= =?utf8?q?=D0=B0=D1=82=D0=BE=D1=80=D0=B0=20InetAccess=20=D1=83=D0=B1=D1=80?= =?utf8?q?=D0=B0=D0=BD=D0=B0=20=D0=BD=D0=B5=D0=B8=D1=81=D0=BF=D0=BE=D0=BB?= =?utf8?q?=D1=8C=D0=B7=D1=83=D0=B5=D0=BC=D0=B0=D1=8F=20=D0=BB=D0=BE=D0=BA?= =?utf8?q?=D0=B0=D0=BB=D1=8C=D0=BD=D0=B0=D1=8F=20=D0=BF=D0=B5=D1=80=D0=B5?= =?utf8?q?=D0=BC=D0=B5=D0=BD=D0=BD=D0=B0=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../stargazer/plugins/authorization/inetaccess/inetaccess.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp index 0d2dbe21..0319ef8d 100644 --- a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp +++ b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp @@ -764,7 +764,6 @@ int AUTH_IA::PacketProcessor(char * buff, int dataLen, uint32_t sip, uint16_t sp STG_LOCKER lock(&mutex, __FILE__, __LINE__); // ôÕÔ ÓÏÂÒÁÎÙ ÏÂÒÁÂÏÔÞÉËÉ ÒÁÚÎÙÈ ÐÁËÅÔÏ× int pn = -1; -int packetLen; const int offset = LOGIN_LEN + 2 + 6; // LOGIN_LEN + sizeOfMagic + sizeOfVer; IA_USER * iaUser = NULL; @@ -834,8 +833,6 @@ else pn = pi->second; } -packetLen = *(int*)buff; - if ((*user)->property.disabled.Get()) { SendError(sip, sport, protoVer, "õÞÅÔÎÁÑ ÚÁÐÉÓØ ÚÁÂÌÏËÉÒÏ×ÁÎÁ"); -- 2.44.2