Skip to content

Commit

Permalink
API fixes in Sf.Network.Ftp
Browse files Browse the repository at this point in the history
getWorkingDirectory and getDirectoryListing had return types inconsistent
with CSFML.
  • Loading branch information
mgrojo committed Nov 11, 2021
1 parent f705027 commit 63779a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/sf-network-ftp.ads
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ package Sf.Network.Ftp is
--/ @return Server response to the request
--/
--//////////////////////////////////////////////////////////
function getWorkingDirectory (ftp : sfFtp_Ptr) return sfFtpResponse_Ptr;
function getWorkingDirectory (ftp : sfFtp_Ptr) return sfFtpDirectoryResponse_Ptr;

--//////////////////////////////////////////////////////////
--/ @brief Get the contents of the given directory
Expand All @@ -451,7 +451,8 @@ package Sf.Network.Ftp is
--/ @return Server response to the request
--/
--//////////////////////////////////////////////////////////
function getDirectoryListing (ftp : sfFtp_Ptr; directory : String) return sfFtpResponse_Ptr;
function getDirectoryListing (ftp : sfFtp_Ptr; directory : String)
return sfFtpListingResponse_Ptr;

--//////////////////////////////////////////////////////////
--/ @brief Change the current working directory
Expand Down Expand Up @@ -622,7 +623,6 @@ private
pragma Import (C, disconnect, "sfFtp_disconnect");
pragma Import (C, keepAlive, "sfFtp_keepAlive");
pragma Import (C, getWorkingDirectory, "sfFtp_getWorkingDirectory");
pragma Import (C, getDirectoryListing, "sfFtp_getDirectoryListing");
pragma Import (C, parentDirectory, "sfFtp_parentDirectory");


Expand Down

0 comments on commit 63779a2

Please sign in to comment.