mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-12 03:00:26 +09:00
sftp: Reformat sftp_open()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit bfb6718b50)
This commit is contained in:
@@ -1618,8 +1618,11 @@ int sftp_closedir(sftp_dir dir){
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Open a file on the server. */
|
/* Open a file on the server. */
|
||||||
sftp_file sftp_open(sftp_session sftp, const char *file, int flags,
|
sftp_file sftp_open(sftp_session sftp,
|
||||||
mode_t mode) {
|
const char *file,
|
||||||
|
int flags,
|
||||||
|
mode_t mode)
|
||||||
|
{
|
||||||
sftp_message msg = NULL;
|
sftp_message msg = NULL;
|
||||||
sftp_status_message status;
|
sftp_status_message status;
|
||||||
struct sftp_attributes_struct attr;
|
struct sftp_attributes_struct attr;
|
||||||
|
|||||||
Reference in New Issue
Block a user