• 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

Revisión391e3074b3447b3a0d5f9153eb82cb87c89dfede (tree)
Tiempo2011-10-13 21:15:23
Autors_kawamoto <s_kawamoto@user...>
Commiters_kawamoto

Log Message

Fix bugs of timeout of FTPS negotiation.

Cambiar Resumen

Diferencia incremental

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/socketwrapper.c
+++ b/socketwrapper.c
@@ -189,7 +189,7 @@ BOOL AttachSSL(SOCKET s)
189189 while(pSSL_connect(*ppSSL) != 1)
190190 {
191191 LeaveCriticalSection(&g_OpenSSLLock);
192- if(g_pOpenSSLTimeoutCallback() || timeGetTime() - Time >= g_OpenSSLTimeout)
192+ if(g_pOpenSSLTimeoutCallback() || (g_OpenSSLTimeout > 0 && timeGetTime() - Time >= g_OpenSSLTimeout))
193193 {
194194 DetachSSL(s);
195195 r = FALSE;