Fix ftp timeout bug.

This commit is contained in:
xiaojiazhu 2023-09-22 16:41:55 +08:00
parent 68b4ef5f9f
commit 7ebfe5a653
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit f79d6d619d115e71b587713446161653d33ad321 Subproject commit d1b456a005d163d4716388c97d54a79fbe251e1c

View File

@ -1398,7 +1398,7 @@ SINT32 sf_connect_ftps_server(void)
} }
ret = sf_ftp_config(ssl, gprsMode, timeout); ret = sf_ftp_config(ssl, gprsMode, timeout);
FtpManagerCode result = ftp_service_available(); FtpManagerCode result = ftp_service_available(timeout);
if(FTP_MANAGER_SERVICE_AVAILABLE == result) if(FTP_MANAGER_SERVICE_AVAILABLE == result)
{ {
FtpOpenOk = SUCCESS; FtpOpenOk = SUCCESS;