1
0
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:
Ilya Shipitsin 2018-02-10 18:15:19 +05:00
parent 91d3084be8
commit 14da8164ae
2 changed files with 0 additions and 13 deletions

View File

@ -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)
{

View File

@ -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, ...);