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