mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
Reformat the sftp_open() function.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@608 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -1351,7 +1351,8 @@ 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, mode_t mode){
|
SFTP_FILE *sftp_open(SFTP_SESSION *sftp, const char *file, int flags,
|
||||||
|
mode_t mode) {
|
||||||
SFTP_MESSAGE *msg = NULL;
|
SFTP_MESSAGE *msg = NULL;
|
||||||
STATUS_MESSAGE *status;
|
STATUS_MESSAGE *status;
|
||||||
SFTP_ATTRIBUTES attr;
|
SFTP_ATTRIBUTES attr;
|
||||||
|
|||||||
Reference in New Issue
Block a user