sftp: Reformat sftp_open()

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit bfb6718b50)
This commit is contained in:
Andreas Schneider
2018-08-31 18:34:07 +02:00
parent b51594c34a
commit 2b524655ae

View File

@@ -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;