From 1c3769a03d82e384cc59c536a3958c31d36a61ad Mon Sep 17 00:00:00 2001 From: S Rahul Date: Tue, 7 Apr 2009 08:05:55 +0000 Subject: [PATCH] Fix a typo in code. --- CASA/include/sscs_cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CASA/include/sscs_cache.h b/CASA/include/sscs_cache.h index 60d6f7c1..81327917 100644 --- a/CASA/include/sscs_cache.h +++ b/CASA/include/sscs_cache.h @@ -79,7 +79,7 @@ FILE *pDebugFile; \ SYSTEMTIME sysTime; \ GetLocalTime(&sysTime); \ _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); \ if (g_pDebugLogFilePath) \ { \