Browse Source

Missed some "ref macro" uses

Zrax 14 years ago
parent
commit
c8cee29c78
  1. 4
      MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetClientComm/plNetClientComm.cpp
  2. 6
      MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglCsr.cpp

4
MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetClientComm/plNetClientComm.cpp

@ -432,8 +432,6 @@ static void INetCliAuthCreatePlayerRequestCallback (
void * param, void * param,
const NetCliAuthPlayerInfo & playerInfo const NetCliAuthPlayerInfo & playerInfo
) { ) {
ref(param);
if (IS_NET_ERROR(result)) { if (IS_NET_ERROR(result)) {
LogMsg(kLogDebug, L"Create player failed: %s", NetErrorToString(result)); LogMsg(kLogDebug, L"Create player failed: %s", NetErrorToString(result));
} }
@ -506,8 +504,6 @@ static void INetCliAuthChangePasswordCallback (
ENetError result, ENetError result,
void * param void * param
) { ) {
ref(param);
if (IS_NET_ERROR(result)) { if (IS_NET_ERROR(result)) {
LogMsg(kLogDebug, L"Change password failed: %s", NetErrorToString(result)); LogMsg(kLogDebug, L"Change password failed: %s", NetErrorToString(result));
} }

6
MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglCsr.cpp

@ -171,8 +171,6 @@ static CliCsConn * GetConnIncRef_CS (const char tag[]) {
//============================================================================ //============================================================================
static CliCsConn * GetConnIncRef (const char tag[]) { static CliCsConn * GetConnIncRef (const char tag[]) {
ref(GetConnIncRef);
CliCsConn * conn; CliCsConn * conn;
s_critsect.Enter(); s_critsect.Enter();
{ {
@ -404,8 +402,6 @@ static void AsyncLookupCallback (
unsigned addrCount, unsigned addrCount,
const NetAddress addrs[] const NetAddress addrs[]
) { ) {
ref(name);
if (!addrCount) { if (!addrCount) {
ReportNetError(kNetProtocolCli2Auth, kNetErrNameLookupFailed); ReportNetError(kNetProtocolCli2Auth, kNetErrNameLookupFailed);
return; return;
@ -681,8 +677,6 @@ bool LoginRequestTrans::Recv (
const byte msg[], const byte msg[],
unsigned bytes unsigned bytes
) { ) {
ref(bytes);
const Csr2Cli_LoginReply & reply = *(const Csr2Cli_LoginReply *) msg; const Csr2Cli_LoginReply & reply = *(const Csr2Cli_LoginReply *) msg;
m_result = reply.result; m_result = reply.result;

Loading…
Cancel
Save