mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Missed some "ref macro" uses
This commit is contained in:
@ -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));
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user