Fixed issue 480

This commit is contained in:
Nick Bolton 2010-06-01 21:49:09 +00:00
parent 70cfc74ce1
commit b88d0fb5fd
2 changed files with 4 additions and 1 deletions

View file

@ -169,7 +169,9 @@ CLog::print(const char* file, int line, const char* fmt, ...)
}
// print the prefix to the buffer. leave space for priority label.
if (file != NULL) {
// do not prefix time and file for kPRINT (CLOG_PRINT)
if ((file != NULL) && (priority != kPRINT)) {
char message[2048];
struct tm *tm;
char tmp[220];