mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
sftp: Reformat sftp_readdir()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -1385,7 +1385,8 @@ int sftp_server_version(sftp_session sftp) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Get a single file attributes structure of a directory. */
|
/* Get a single file attributes structure of a directory. */
|
||||||
sftp_attributes sftp_readdir(sftp_session sftp, sftp_dir dir) {
|
sftp_attributes sftp_readdir(sftp_session sftp, sftp_dir dir)
|
||||||
|
{
|
||||||
sftp_message msg = NULL;
|
sftp_message msg = NULL;
|
||||||
sftp_status_message status;
|
sftp_status_message status;
|
||||||
sftp_attributes attr;
|
sftp_attributes attr;
|
||||||
|
|||||||
Reference in New Issue
Block a user