mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 02:49:52 +03:00
[src/Cedar/Logging.c:915]: (style) The function 'WriteSecurityLog' is never used.
This commit is contained in:
parent
91d3084be8
commit
14da8164ae
@ -911,18 +911,6 @@ void WriteServerLog(CEDAR *c, wchar_t *str)
|
||||
}
|
||||
}
|
||||
|
||||
// Take a security log
|
||||
void WriteSecurityLog(HUB *h, char *str)
|
||||
{
|
||||
// Validate arguments
|
||||
if (h == NULL || str == NULL)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
InsertStringRecord(h->SecurityLogger, str);
|
||||
}
|
||||
|
||||
// Take a packet log
|
||||
bool PacketLog(HUB *hub, SESSION *src_session, SESSION *dest_session, PKT *packet, UINT64 now)
|
||||
{
|
||||
|
@ -232,7 +232,6 @@ char *GenCsvLine(TOKEN_LIST *t);
|
||||
void ReplaceForCsv(char *str);
|
||||
char *PortStr(CEDAR *cedar, UINT port, bool udp);
|
||||
char *TcpFlagStr(UCHAR flag);
|
||||
void WriteSecurityLog(HUB *h, char *str);
|
||||
void SiSetDefaultLogSetting(HUB_LOG *g);
|
||||
void DebugLog(CEDAR *c, char *fmt, ...);
|
||||
void SLog(CEDAR *c, char *name, ...);
|
||||
|
Loading…
Reference in New Issue
Block a user