• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision6233 (tree)
Time2016-01-01 23:32:06
Author(del#1144)

Log Message

xmodemrecv, xmodemsend のオプションの取り方を変更

Change Summary

Incremental Difference

--- trunk/teraterm/ttpmacro/ttl.c (revision 6232)
+++ trunk/teraterm/ttpmacro/ttl.c (revision 6233)
@@ -5664,6 +5664,18 @@
56645664
56655665 if (Err!=0) return Err;
56665666
5667+ switch (XOption) {
5668+ case XoptCRC:
5669+ // NOP
5670+ break;
5671+ case Xopt1kCRC:
5672+ // for compatibility
5673+ XOption = XoptCRC;
5674+ break;
5675+ default:
5676+ XOption = XoptCheck;
5677+ }
5678+
56675679 SetFile(Str);
56685680 SetBinary(BinFlag);
56695681 SetXOption(XOption);
@@ -5684,6 +5696,14 @@
56845696 Err = ErrSyntax;
56855697 if (Err!=0) return Err;
56865698
5699+ switch (XOption) {
5700+ case Xopt1kCRC:
5701+ // NOP
5702+ break;
5703+ default:
5704+ XOption = XoptCRC;
5705+ }
5706+
56875707 SetFile(Str);
56885708 SetXOption(XOption);
56895709 return SendCmnd(CmdXmodemSend,IdTTLWaitCmndResult);
Show on old repository browser