Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ttcomtester/teraterm/teraterm/commlib.c

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

revision 6895 by doda, Wed Aug 9 13:22:24 2017 UTC revision 6947 by doda, Tue Oct 17 09:38:24 2017 UTC
# Line 151  void CommInit(PComVar cv) Line 151  void CommInit(PComVar cv)
151          cv->TitleRemote[0] = '\0';          cv->TitleRemote[0] = '\0';
152    
153          cv->NotifyIcon = NULL;          cv->NotifyIcon = NULL;
154    
155            cv->ConnectedTime = 0;
156  }  }
157    
158  /* reset a serial port which is already open */  /* reset a serial port which is already open */
# Line 351  void CommOpen(HWND HW, PTTSet ts, PComVa Line 353  void CommOpen(HWND HW, PTTSet ts, PComVa
353          cv->Flush = FALSE;          cv->Flush = FALSE;
354          cv->FlushLen = 0;          cv->FlushLen = 0;
355          cv->TelLineMode = FALSE;          cv->TelLineMode = FALSE;
356            cv->ConnectedTime = 0;
357    
358          if ((ts->PortType!=IdSerial) && (strlen(ts->HostName)==0))          if ((ts->PortType!=IdSerial) && (strlen(ts->HostName)==0))
359          {          {
# Line 769  void CommStart(PComVar cv, LONG lParam, Line 772  void CommStart(PComVar cv, LONG lParam,
772                          break;                          break;
773          }          }
774          cv->Ready = TRUE;          cv->Ready = TRUE;
775            cv->ConnectedTime = GetTickCount();
776  }  }
777    
778  BOOL CommCanClose(PComVar cv)  BOOL CommCanClose(PComVar cv)

Legend:
Removed from v.6895  
changed lines
  Added in v.6947

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