From c23b08245e5eeeaec40226c0ed4aba5acac5935b Mon Sep 17 00:00:00 2001 From: Leandro Motta Barros Date: Sat, 22 Sep 2012 13:16:41 -0300 Subject: [PATCH] Fixed sfFtp_connect() signature. Signatures in the header and in the implementation files were different. --- include/SFML/Network/Ftp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SFML/Network/Ftp.h b/include/SFML/Network/Ftp.h index ef1905c..6133b30 100644 --- a/include/SFML/Network/Ftp.h +++ b/include/SFML/Network/Ftp.h @@ -299,12 +299,12 @@ CSFML_NETWORK_API void sfFtp_destroy(sfFtp* ftp); /// \param ftp Ftp object /// \param server Name or address of the FTP server to connect to /// \param port Port used for the connection -/// \param timeout Maximum time to wait, in milliseconds +/// \param timeout Maximum time to wait /// /// \return Server response to the request /// //////////////////////////////////////////////////////////// -CSFML_NETWORK_API sfFtpResponse* sfFtp_connect(sfFtp* ftp, sfIpAddress server, unsigned short port, sfUint32 timeout); +CSFML_NETWORK_API sfFtpResponse* sfFtp_connect(sfFtp* ftp, sfIpAddress server, unsigned short port, sfTime timeout); //////////////////////////////////////////////////////////// /// \brief Log in using an anonymous account