From dc45e56711e1181e54717f676d18e37cc447053c Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 4 Apr 2011 22:01:12 +0300 Subject: [PATCH 1/1] 'err' field moved from private class member to local method variable --- stglibs/ia_auth_c.lib/ia_auth_c.cpp | 1 + stglibs/ia_auth_c.lib/ia_auth_c.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/stglibs/ia_auth_c.lib/ia_auth_c.cpp b/stglibs/ia_auth_c.lib/ia_auth_c.cpp index fb13d5b6..b5eb4ddc 100644 --- a/stglibs/ia_auth_c.lib/ia_auth_c.cpp +++ b/stglibs/ia_auth_c.lib/ia_auth_c.cpp @@ -696,6 +696,7 @@ return INFO_8_N; //--------------------------------------------------------------------------- int IA_CLIENT_PROT::Process_ERROR(const char * buffer) { +ERR_8 err; memcpy(&err, buffer, sizeof(err)); #ifdef ARCH_BE diff --git a/stglibs/ia_auth_c.lib/ia_auth_c.h b/stglibs/ia_auth_c.lib/ia_auth_c.h index abacaecd..1a1ea039 100644 --- a/stglibs/ia_auth_c.lib/ia_auth_c.h +++ b/stglibs/ia_auth_c.lib/ia_auth_c.h @@ -191,7 +191,6 @@ private: DISCONN_SYN_8 * disconnSyn8; DISCONN_SYN_ACK_8 * disconnSynAck8; DISCONN_ACK_8 * disconnAck8; - ERR_8 err; INFO_8 * info; }; //--------------------------------------------------------------------------- -- 2.44.2