• 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ão01b81c472f3a38f11ead2351ba0ee7430593642c (tree)
Hora2012-01-23 16:30:52
AutorYuji Tanaka <chibi_honu@user...>
CommiterYuji Tanaka

Mensagem de Log

Fix bugs that InitCmd isn't sent at reconnection.

Mudança Sumário

Diff

--- a/connect.c
+++ b/connect.c
@@ -1106,6 +1106,7 @@ int ReConnectTrnSkt(SOCKET *Skt, int *CancelCheckWork)
11061106 // if((*Skt = DoConnect(CurHost.HostAdrs, CurHost.UserName, CurHost.PassWord, CurHost.Account, CurHost.Port, CurHost.FireWall, NO, CurHost.Security)) != INVALID_SOCKET)
11071107 if((*Skt = DoConnect(&HostData, CurHost.HostAdrs, CurHost.UserName, CurHost.PassWord, CurHost.Account, CurHost.Port, CurHost.FireWall, NO, CurHost.Security, CancelCheckWork)) != INVALID_SOCKET)
11081108 {
1109+ SendInitCommand(CurHost.InitCmd);
11091110 // AskRemoteCurDir(Path, FMAX_PATH);
11101111 // DoCWD(Path, YES, YES, YES);
11111112 Sts = FFFTP_SUCCESS;
@@ -1147,6 +1148,7 @@ static int ReConnectSkt(SOCKET *Skt)
11471148 // if((*Skt = DoConnect(CurHost.HostAdrs, CurHost.UserName, CurHost.PassWord, CurHost.Account, CurHost.Port, CurHost.FireWall, NO, CurHost.Security)) != INVALID_SOCKET)
11481149 if((*Skt = DoConnect(&CurHost, CurHost.HostAdrs, CurHost.UserName, CurHost.PassWord, CurHost.Account, CurHost.Port, CurHost.FireWall, NO, CurHost.Security, &CancelFlg)) != INVALID_SOCKET)
11491150 {
1151+ SendInitCommand(CurHost.InitCmd);
11501152 AskRemoteCurDir(Path, FMAX_PATH);
11511153 DoCWD(Path, YES, YES, YES);
11521154 Sts = FFFTP_SUCCESS;