Fix a typo in code.

This commit is contained in:
S Rahul 2009-04-07 08:05:55 +00:00
parent acb6c8b7f1
commit 1c3769a03d

View File

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