Browse Subversion Repository
Diff of /trunk/teraterm/ttpset/ttset.c
Parent Directory
| Revision Log
| Patch
| 3715 |
char TempDir[MAXPATHLEN]; |
char TempDir[MAXPATHLEN]; |
| 3716 |
WORD ParamPort = 0; |
WORD ParamPort = 0; |
| 3717 |
WORD ParamCom = 0; |
WORD ParamCom = 0; |
| 3718 |
WORD ParamTCP = 65535; |
WORD ParamTCP = 0; |
| 3719 |
WORD ParamTel = 2; |
WORD ParamTel = 2; |
| 3720 |
WORD ParamBin = 2; |
WORD ParamBin = 2; |
| 3721 |
DWORD ParamBaud = BaudNone; |
DWORD ParamBaud = BaudNone; |
| 3900 |
else if (_strnicmp(Temp, "/P=", 3) == 0) { /* TCP port num */ |
else if (_strnicmp(Temp, "/P=", 3) == 0) { /* TCP port num */ |
| 3901 |
ParamPort = IdTCPIP; |
ParamPort = IdTCPIP; |
| 3902 |
if (sscanf(&Temp[3], "%hd", &ParamTCP) != 1) |
if (sscanf(&Temp[3], "%hd", &ParamTCP) != 1) |
| 3903 |
ParamTCP = 65535; |
ParamTCP = 0; |
| 3904 |
} |
} |
| 3905 |
else if (_stricmp(Temp, "/PIPE") == 0 || |
else if (_stricmp(Temp, "/PIPE") == 0 || |
| 3906 |
_stricmp(Temp, "/NAMEDPIPE") == 0) { /* 名前付きパイプ */ |
_stricmp(Temp, "/NAMEDPIPE") == 0) { /* 名前付きパイプ */ |
| 4014 |
if (b == ':') { |
if (b == ':') { |
| 4015 |
ts->HostName[i - 1] = 0; |
ts->HostName[i - 1] = 0; |
| 4016 |
if (sscanf(&(ts->HostName[i]), "%d", &ParamTCP) != 1) |
if (sscanf(&(ts->HostName[i]), "%d", &ParamTCP) != 1) |
| 4017 |
ParamTCP = 65535; |
ParamTCP = 0; |
| 4018 |
} |
} |
| 4019 |
#endif /* NO_INET6 */ |
#endif /* NO_INET6 */ |
| 4020 |
} |
} |
| 4022 |
switch (ParamPort) { |
switch (ParamPort) { |
| 4023 |
case IdTCPIP: |
case IdTCPIP: |
| 4024 |
ts->PortType = IdTCPIP; |
ts->PortType = IdTCPIP; |
| 4025 |
if (ParamTCP < 65535) |
if (ParamTCP != 0) |
| 4026 |
ts->TCPPort = ParamTCP; |
ts->TCPPort = ParamTCP; |
| 4027 |
if (ParamTel < 2) |
if (ParamTel < 2) |
| 4028 |
ts->Telnet = ParamTel; |
ts->Telnet = ParamTel; |
|
|
Legend:
| Removed from v.6696 |
|
| changed lines |
| |
Added in v.6726 |
|
|
| |