• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

FFFTPのソースコードです。


Commit MetaInfo

Revisão13b044809d800141bd342eed396325f460c20d8b (tree)
Hora2011-10-14 17:35:34
Autors_kawamoto <s_kawamoto@user...>
Commiters_kawamoto

Mensagem de Log

Update to 391e3074b3447b3a0d5f9153eb82cb87c89dfede (1.98a) about bug fixes.

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
@@ -2019,7 +2019,10 @@ static void DispDownloadFinishMsg(TRANSPACKET *Pkt, int iRetCode)
20192019 // else if((Pkt->hWndTrans != NULL) && (TimeStart != 0))
20202020 // SetTaskMsg(MSGJPN102, TimeStart, Pkt->ExistSize/TimeStart);
20212021 else if((Pkt->hWndTrans != NULL) && (TimeStart[Pkt->ThreadCount] != 0))
2022- SetTaskMsg(MSGJPN102, TimeStart[Pkt->ThreadCount], Pkt->ExistSize/TimeStart[Pkt->ThreadCount]);
2022+ // "0 B/S"と表示されるバグを修正
2023+ // 原因は%dにあたる部分に64ビット値が渡されているため
2024+// SetTaskMsg(MSGJPN102, TimeStart[Pkt->ThreadCount], Pkt->ExistSize/TimeStart[Pkt->ThreadCount]);
2025+ SetTaskMsg(MSGJPN102, (LONG)TimeStart[Pkt->ThreadCount], (LONG)(Pkt->ExistSize/TimeStart[Pkt->ThreadCount]));
20232026 else
20242027 SetTaskMsg(MSGJPN103, Pkt->ExistSize);
20252028 }
--- a/socketwrapper.c
+++ b/socketwrapper.c
@@ -198,7 +198,7 @@ BOOL AttachSSL(SOCKET s)
198198 while(pSSL_connect(*ppSSL) != 1)
199199 {
200200 LeaveCriticalSection(&g_OpenSSLLock);
201- if(g_pOpenSSLTimeoutCallback() || timeGetTime() - Time >= g_OpenSSLTimeout)
201+ if(g_pOpenSSLTimeoutCallback() || (g_OpenSSLTimeout > 0 && timeGetTime() - Time >= g_OpenSSLTimeout))
202202 {
203203 DetachSSL(s);
204204 r = FALSE;