1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-08 00:34:57 +03:00

initial fix for clang warnings (#84)

This commit is contained in:
tonychung00
2018-04-20 14:03:26 -07:00
committed by Moataz Elmasry
parent 323851607c
commit 8ddd328762
2 changed files with 17 additions and 11 deletions

View File

@ -2550,7 +2550,7 @@ bool MakeLogFileName(LOG *g, char *name, UINT size, char *dir, char *prefix, UIN
if (strcmp(old_datestr, tmp) != 0)
{
ret = true;
strcpy(old_datestr, tmp);
StrCpy(old_datestr, MAX_SIZE, tmp);
}
snprintf(name, size, "%s%s%s%s%s.log", dir,