• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Loweynet


Commit MetaInfo

Revisão698970baae62125ab8fd5d0e71a2835187288c7d (tree)
Hora2012-02-07 21:37:58
Autors_kawamoto <s_kawamoto@user...>
Commiters_kawamoto

Mensagem de Log

Enlarge buffers for replies on transferring files.

Mudança Sumário

Diff

Binary files a/FFFTP_Eng_Release/FFFTP.exe and b/FFFTP_Eng_Release/FFFTP.exe differ
Binary files a/Release/FFFTP.exe and b/Release/FFFTP.exe differ
--- a/getput.c
+++ b/getput.c
@@ -1375,7 +1375,9 @@ static int DownLoadNonPassive(TRANSPACKET *Pkt, int *CancelCheckWork)
13751375 int iLength;
13761376 SOCKET data_socket = INVALID_SOCKET; // data channel socket
13771377 SOCKET listen_socket = INVALID_SOCKET; // data listen socket
1378- char Buf[1024];
1378+ // 念のため
1379+// char Buf[1024];
1380+ char Buf[FMAX_PATH+1024];
13791381 int CreateMode;
13801382 // IPv6対応
13811383 // struct sockaddr_in saSockAddr1;
@@ -1490,7 +1492,9 @@ static int DownLoadPassive(TRANSPACKET *Pkt, int *CancelCheckWork)
14901492 {
14911493 int iRetCode;
14921494 SOCKET data_socket = INVALID_SOCKET; // data channel socket
1493- char Buf[1024];
1495+ // 念のため
1496+// char Buf[1024];
1497+ char Buf[FMAX_PATH+1024];
14941498 int CreateMode;
14951499 // IPv6対応
14961500 // char Adrs[20];
@@ -2645,7 +2649,9 @@ static int UpLoadNonPassive(TRANSPACKET *Pkt)
26452649 int iLength;
26462650 SOCKET data_socket = INVALID_SOCKET; // data channel socket
26472651 SOCKET listen_socket = INVALID_SOCKET; // data listen socket
2648- char Buf[1024];
2652+ // 念のため
2653+// char Buf[1024];
2654+ char Buf[FMAX_PATH+1024];
26492655 // IPv6対応
26502656 // struct sockaddr_in saSockAddr1;
26512657 struct sockaddr_in saSockAddrIPv4;
@@ -2774,7 +2780,9 @@ static int UpLoadPassive(TRANSPACKET *Pkt)
27742780 {
27752781 int iRetCode;
27762782 SOCKET data_socket = INVALID_SOCKET; // data channel socket
2777- char Buf[1024];
2783+ // 念のため
2784+// char Buf[1024];
2785+ char Buf[FMAX_PATH+1024];
27782786 // IPv6対応
27792787 // char Adrs[20];
27802788 char Adrs[40];