1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 04:09:16 +00:00

Missed use of the ref macro.

See e158881def12.
This commit is contained in:
Skoader
2012-04-29 13:31:54 +10:00
parent 0e154ffb4b
commit 615b1017bd
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ static void LookupCallback (
unsigned addrCount, unsigned addrCount,
const NetAddress addrs[] const NetAddress addrs[]
) { ) {
ref(name); REF(name);
DNSParam * p = (DNSParam *)param; DNSParam * p = (DNSParam *)param;
if (addrCount) { if (addrCount) {

View File

@ -154,7 +154,7 @@ static bool Recv_PingReply (
unsigned bytes, unsigned bytes,
void * void *
) { ) {
ref(bytes); REF(bytes);
const Auth2Cli_PingReply & reply = *(const Auth2Cli_PingReply *)msg; const Auth2Cli_PingReply & reply = *(const Auth2Cli_PingReply *)msg;
@ -415,7 +415,7 @@ static bool AuthSocketNotifyCallback (
//============================================================================ //============================================================================
static bool Recv_File2Cli_ManifestReply (FileConn * conn, const File2Cli_ManifestReply & msg) { static bool Recv_File2Cli_ManifestReply (FileConn * conn, const File2Cli_ManifestReply & msg) {
ref(conn); REF(conn);
FileTrans * trans; FileTrans * trans;
s_critsect.Enter(); s_critsect.Enter();