Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/filesys_log.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6767 by maya, Sun Jun 4 12:54:47 2017 UTC revision 6768 by maya, Sun Jun 4 13:06:21 2017 UTC
# Line 957  void LogToFile() Line 957  void LogToFile()
957                          {                          {
958                                  tmp[0] = 0;                                  tmp[0] = 0;
959                                  if ( ts.LogTimestamp && eLineEnd ) {                                  if ( ts.LogTimestamp && eLineEnd ) {
960                                          char *strtime = mctimelocal(ts.LogTimestampFormat);                                          char *strtime = mctimelocal(ts.LogTimestampFormat, ts.LogTimestampUTC);
961                                          /* 2007.05.24 Gentaro */                                          /* 2007.05.24 Gentaro */
962                                          if( eLineEnd == Line_FileHead ){                                          if( eLineEnd == Line_FileHead ){
963                                                  strncat_s(tmp, sizeof(tmp), "\r\n", _TRUNCATE);                                                  strncat_s(tmp, sizeof(tmp), "\r\n", _TRUNCATE);
# Line 1012  void LogToFile() Line 1012  void LogToFile()
1012                                                          LocalTime.wHour, LocalTime.wMinute, LocalTime.wSecond,                                                          LocalTime.wHour, LocalTime.wMinute, LocalTime.wSecond,
1013                                                          LocalTime.wMilliseconds);                                                          LocalTime.wMilliseconds);
1014          #else          #else
1015                                          char *strtime = mctimelocal(ts.LogTimestampFormat);                                          char *strtime = mctimelocal(ts.LogTimestampFormat, ts.LogTimestampUTC);
1016          #endif          #endif
1017          #else          #else
1018                                                  time_t tick = time(NULL);                                                  time_t tick = time(NULL);

Legend:
Removed from v.6767  
changed lines
  Added in v.6768

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26