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:
committed by
Moataz Elmasry
parent
323851607c
commit
8ddd328762
@ -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,
|
||||
|
Reference in New Issue
Block a user