]> git.stg.codes - stg.git/commitdiff
'err' field moved from private class member to local method variable
authorMaxim Mamontov <faust.madf@gmail.com>
Mon, 4 Apr 2011 19:01:12 +0000 (22:01 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Mon, 4 Apr 2011 19:01:12 +0000 (22:01 +0300)
stglibs/ia_auth_c.lib/ia_auth_c.cpp
stglibs/ia_auth_c.lib/ia_auth_c.h

index fb13d5b6623869ffc3549b9e4fcde27d8744e9f7..b5eb4ddc526eab2913d722651eb7eafa2a6f08ba 100644 (file)
@@ -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
index abacaecd5314d8f9646246c6ffbb0838a0349d14..1a1ea039e7b4a0622af6e58776dbcbd34ee1bfa4 100644 (file)
@@ -191,7 +191,6 @@ private:
     DISCONN_SYN_8     * disconnSyn8;
     DISCONN_SYN_ACK_8 * disconnSynAck8;
     DISCONN_ACK_8     * disconnAck8;
-    ERR_8               err;
     INFO_8            * info;
 };
 //---------------------------------------------------------------------------