From: Maxim Mamontov Date: Mon, 4 Apr 2011 19:01:12 +0000 (+0300) Subject: 'err' field moved from private class member to local method variable X-Git-Tag: 2.407-rc3~85 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/dc45e56711e1181e54717f676d18e37cc447053c?ds=sidebyside;hp=01c8efc4c28d6f4fb844a4d70e53000104a049e9 'err' field moved from private class member to local method variable --- 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; }; //---------------------------------------------------------------------------