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 9070 by zmatsuo, Sun Dec 20 12:09:55 2020 UTC revision 9103 by zmatsuo, Sun Dec 20 12:16:14 2020 UTC
# Line 58  Line 58 
58    
59  #include "filesys_log_res.h"  #include "filesys_log_res.h"
60  #include "filesys_log.h"  #include "filesys_log.h"
61    #include "filesys.h"  // for ProtoGetProtoFlag()
62    
63  /*  /*
64     Line Head flag for timestamping     Line Head flag for timestamping
# Line 992  static void LogToFile(void) Line 993  static void LogToFile(void)
993          DWORD WriteBufLen = 0;          DWORD WriteBufLen = 0;
994          PCHAR WriteBuf = (PCHAR)malloc(WriteBufMax);          PCHAR WriteBuf = (PCHAR)malloc(WriteBufMax);
995          while (Get1(Buf,&Start,&Count,&b)) {          while (Get1(Buf,&Start,&Count,&b)) {
996                  if (FLogIsPause() || (cv.ProtoFlag)) {                  if (FLogIsPause() || ProtoGetProtoFlag()) {
997                          continue;                          continue;
998                  }                  }
999    
# Line 1029  static void LogToFile(void) Line 1030  static void LogToFile(void)
1030                  cv_BStart = Start;                  cv_BStart = Start;
1031                  cv_BCount = Count;                  cv_BCount = Count;
1032          }          }
1033          if (FLogIsPause() || cv.ProtoFlag) return;          if (FLogIsPause() || ProtoGetProtoFlag()) return;
1034          LogVar->FLogDlg->RefreshNum(LogVar->StartTime, LogVar->FileSize, LogVar->ByteCount);          LogVar->FLogDlg->RefreshNum(LogVar->StartTime, LogVar->FileSize, LogVar->ByteCount);
1035    
1036    
# Line 1418  void FLogShowDlg(void) Line 1419  void FLogShowDlg(void)
1419  //void Log1Bin(PComVar cv, BYTE b)  //void Log1Bin(PComVar cv, BYTE b)
1420  static void Log1Bin(BYTE b)  static void Log1Bin(BYTE b)
1421  {  {
1422          if (LogVar->IsPause || cv.ProtoFlag) {          if (LogVar->IsPause || ProtoGetProtoFlag()) {
1423                  return;                  return;
1424          }          }
1425          if (cv_BinSkip > 0) {          if (cv_BinSkip > 0) {

Legend:
Removed from v.9070  
changed lines
  Added in v.9103

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