X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=history.c;h=8bd01e1cde56f482675e6e716de99f903b2a402d;hb=2cca99db509753b45b80b6c79adaf6354e36a78d;hp=3f535df5791649d780a1c5a44d23520004c312f0;hpb=4a6f29d2616cdecbb9366e5f462c5815c64fbaf6;p=ffftp%2Fffftp.git diff --git a/history.c b/history.c index 3f535df..8bd01e1 100644 --- a/history.c +++ b/history.c @@ -28,6 +28,8 @@ /============================================================================*/ #define STRICT +// IPv6対応 +#include #include #include #include @@ -37,7 +39,8 @@ #include #include #include -#include +// IPv6対応 +//#include #include "common.h" #include "resource.h" @@ -231,10 +234,16 @@ static void CopyHostToHistory(HOSTDATA *Host, HISTORYDATA *New) strcpy(New->PrivateKey, Host->PrivateKey); // 同時接続対応 New->MaxThreadCount = Host->MaxThreadCount; + New->ReuseCmdSkt = Host->ReuseCmdSkt; // MLSD対応 New->UseMLSD = Host->UseMLSD; // IPv6対応 - New->UseIPv6 = Host->UseIPv6; + New->NetType = Host->NetType; + // 自動切断対策 + New->NoopInterval = Host->NoopInterval; + // 再転送対応 + New->TransferErrorMode = Host->TransferErrorMode; + New->TransferErrorNotify = Host->TransferErrorNotify; return; } @@ -292,10 +301,16 @@ void CopyHistoryToHost(HISTORYDATA *Hist, HOSTDATA *Host) strcpy(Host->PrivateKey, Hist->PrivateKey); // 同時接続対応 Host->MaxThreadCount = Hist->MaxThreadCount; + Host->ReuseCmdSkt = Hist->ReuseCmdSkt; // MLSD対応 Host->UseMLSD = Hist->UseMLSD; // IPv6対応 - Host->UseIPv6 = Hist->UseIPv6; + Host->NetType = Hist->NetType; + // 自動切断対策 + Host->NoopInterval = Hist->NoopInterval; + // 再転送対応 + Host->TransferErrorMode = Hist->TransferErrorMode; + Host->TransferErrorNotify = Hist->TransferErrorNotify; return; }