mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
port: net: move the rest of the IP logging to log only
This commit is contained in:
1 parent
4b30f52b32
commit
31d8aae704
1 file changed
+2
-2
+2
-2
@@ -745,7 +745,7 @@ void netStartFrame(void)
|
||||
if (cl) {
|
||||
netServerEvDisconnect(cl);
|
||||
} else {
|
||||
sysLogPrintf(LOG_WARNING, "NET: disconnect from %s without attached client", netFormatPeerAddr(ev.peer));
|
||||
sysLogPrintf(LOG_WARNING | LOGFLAG_NOCON, "NET: disconnect from %s without attached client", netFormatPeerAddr(ev.peer));
|
||||
--g_NetNumClients;
|
||||
}
|
||||
}
|
||||
@@ -764,7 +764,7 @@ void netStartFrame(void)
|
||||
netbufReset(&cl->in);
|
||||
}
|
||||
} else if (!isClient) {
|
||||
sysLogPrintf(LOG_WARNING, "NET: receive from %s without attached client", netFormatPeerAddr(ev.peer));
|
||||
sysLogPrintf(LOG_WARNING | LOGFLAG_NOCON, "NET: receive from %s without attached client", netFormatPeerAddr(ev.peer));
|
||||
}
|
||||
}
|
||||
enet_packet_dispose(ev.packet);
|
||||
|
||||
Reference in new issue
Block a user