Fix a typo in code.
This commit is contained in:
parent
acb6c8b7f1
commit
1c3769a03d
@ -79,7 +79,7 @@ FILE *pDebugFile; \
|
|||||||
SYSTEMTIME sysTime; \
|
SYSTEMTIME sysTime; \
|
||||||
GetLocalTime(&sysTime); \
|
GetLocalTime(&sysTime); \
|
||||||
_snprintf(formatBuff, sizeof(formatBuff), "[%X-%X] [%02d:%02d:%02d] CASA_library ", GetCurrentProcessId(), GetCurrentThreadId(), sysTime.wHour, sysTime.wMinute, sysTime.wSecond); \
|
_snprintf(formatBuff, sizeof(formatBuff), "[%X-%X] [%02d:%02d:%02d] CASA_library ", GetCurrentProcessId(), GetCurrentThreadId(), sysTime.wHour, sysTime.wMinute, sysTime.wSecond); \
|
||||||
strncat(formatBuff, X, sizeof(formatBuff) -:q: strlen(formatBuff) - 1); \
|
strncat(formatBuff, X, sizeof(formatBuff) - strlen(formatBuff) - 1); \
|
||||||
_snprintf(printBuff, sizeof(printBuff), formatBuff, Y); \
|
_snprintf(printBuff, sizeof(printBuff), formatBuff, Y); \
|
||||||
if (g_pDebugLogFilePath) \
|
if (g_pDebugLogFilePath) \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
Reference in New Issue
Block a user