You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/18 17:05:03 UTC
svn commit: r805442 -
/commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c
Author: mturk
Date: Tue Aug 18 15:05:02 2009
New Revision: 805442
URL: http://svn.apache.org/viewvc?rev=805442&view=rev
Log:
Fix formating
Modified:
commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c?rev=805442&r1=805441&r2=805442&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/syslog.c Tue Aug 18 15:05:02 2009
@@ -48,27 +48,27 @@
case ACR_LOG_EMERG:
id = LOG_MSG_EMERG;
il = EVENTLOG_ERROR_TYPE;
- et = L"[EMERG] :";
+ et = L"[EMERG] : ";
break;
case ACR_LOG_ERROR:
id = LOG_MSG_ERROR;
il = EVENTLOG_ERROR_TYPE;
- et = L"[ERROR] :";
+ et = L"[ERROR] : ";
break;
case ACR_LOG_NOTICE:
id = LOG_MSG_NOTICE;
il = EVENTLOG_WARNING_TYPE;
- et = L"[NOTICE] :";
+ et = L"[NOTICE] : ";
break;
case ACR_LOG_WARN:
id = LOG_MSG_WARN;
il = EVENTLOG_WARNING_TYPE;
- et = L"[WARNING] :";
+ et = L"[WARN] : ";
break;
case ACR_LOG_INFO:
id = LOG_MSG_INFO;
il = EVENTLOG_INFORMATION_TYPE;
- et = L"[INFO] :";
+ et = L"[INFO] : ";
es = stdout;
break;
}
@@ -101,7 +101,7 @@
else {
fprintf(es, "%S%S\n", et, messages[0]);
if (messages[1])
- fprintf(es, " %S\n", messages[1]);
+ fprintf(es, " %S\n", messages[1]);
fflush(es);
}
}