initial fix for clang warnings (#84)

This commit is contained in:
tonychung00 authored and Moataz Elmasry committed 2018-04-20 23:03:26 +02:00
1 parent 323851607c
commit 8ddd328762
2 files changed
+17 -11

No files matched your search

+1 -1
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,