OSDN Git Service

Enlarge buffers for replies on transferring files.
[ffftp/ffftp.git] / history.c
index b17fe89..8bd01e1 100644 (file)
--- a/history.c
+++ b/history.c
@@ -238,7 +238,12 @@ static void CopyHostToHistory(HOSTDATA *Host, HISTORYDATA *New)
        // MLSD対応\r
        New->UseMLSD = Host->UseMLSD;\r
        // IPv6対応\r
-       New->UseIPv6 = Host->UseIPv6;\r
+       New->NetType = Host->NetType;\r
+       // 自動切断対策\r
+       New->NoopInterval = Host->NoopInterval;\r
+       // 再転送対応\r
+       New->TransferErrorMode = Host->TransferErrorMode;\r
+       New->TransferErrorNotify = Host->TransferErrorNotify;\r
        return;\r
 }\r
 \r
@@ -300,7 +305,12 @@ void CopyHistoryToHost(HISTORYDATA *Hist, HOSTDATA *Host)
        // MLSD対応\r
        Host->UseMLSD = Hist->UseMLSD;\r
        // IPv6対応\r
-       Host->UseIPv6 = Hist->UseIPv6;\r
+       Host->NetType = Hist->NetType;\r
+       // 自動切断対策\r
+       Host->NoopInterval = Hist->NoopInterval;\r
+       // 再転送対応\r
+       Host->TransferErrorMode = Hist->TransferErrorMode;\r
+       Host->TransferErrorNotify = Hist->TransferErrorNotify;\r
        return;\r
 }\r
 \r