Browse Subversion Repository
Diff of /trunk/teraterm/teraterm/commlib.c
Parent Directory
| Revision Log
| Patch
| 39 |
#include "ttlib.h" |
#include "ttlib.h" |
| 40 |
#include "ttfileio.h" |
#include "ttfileio.h" |
| 41 |
#include "ttplug.h" /* TTPLUG */ |
#include "ttplug.h" /* TTPLUG */ |
| 42 |
|
#include "ttdde.h" |
| 43 |
|
|
| 44 |
#include "commlib.h" |
#include "commlib.h" |
| 45 |
#include <winsock2.h> |
#include <winsock2.h> |
| 143 |
cv->BinPtr = 0; |
cv->BinPtr = 0; |
| 144 |
cv->BStart = 0; |
cv->BStart = 0; |
| 145 |
cv->BCount = 0; |
cv->BCount = 0; |
| 146 |
cv->DStart = 0; |
// cv->DStart = 0; |
| 147 |
cv->DCount = 0; |
// cv->DCount = 0; |
| 148 |
cv->BinSkip = 0; |
cv->BinSkip = 0; |
| 149 |
cv->FilePause = 0; |
cv->FilePause = 0; |
| 150 |
cv->ProtoFlag = FALSE; |
cv->ProtoFlag = FALSE; |
| 837 |
if (cv->InBuffCount>0) { |
if (cv->InBuffCount>0) { |
| 838 |
return FALSE; |
return FALSE; |
| 839 |
} |
} |
| 840 |
if ((cv->HLogBuf!=NULL) && |
if ((cv->HLogBuf!=NULL) && (cv->LCount>0)) { |
|
((cv->LCount>0) || |
|
|
(cv->DCount>0))) { |
|
| 841 |
return FALSE; |
return FALSE; |
| 842 |
} |
} |
| 843 |
if ((cv->HBinBuf!=NULL) && |
if ((cv->HBinBuf!=NULL) && |
| 844 |
(cv->BCount>0)) { |
(cv->BCount>0)) { |
| 845 |
return FALSE; |
return FALSE; |
| 846 |
} |
} |
| 847 |
|
if (DDELog && DDEGetCount() > 0) { |
| 848 |
|
return FALSE; |
| 849 |
|
} |
| 850 |
return TRUE; |
return TRUE; |
| 851 |
} |
} |
| 852 |
|
|
| 1237 |
} |
} |
| 1238 |
if ((cv->PortType==IdTCPIP) || |
if ((cv->PortType==IdTCPIP) || |
| 1239 |
(cv->PortType==IdSerial) && |
(cv->PortType==IdSerial) && |
| 1240 |
(!(ts->Flow == IdFlowHard || ts->Flow == IdFlowHardDsrDtr)) |
(!(ts->Flow == IdFlowHard || ts->Flow == IdFlowHardDsrDtr)) |
| 1241 |
) { |
) { |
| 1242 |
if (Lock) { |
if (Lock) { |
| 1243 |
b = XOFF; |
b = XOFF; |
| 1244 |
} |
} |
|
|
Legend:
| Removed from v.8616 |
|
| changed lines |
| |
Added in v.8860 |
|
|
|