mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 02:38:09 +09:00
sftp: Reformat sftp_setstat()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 8a56b90c3e)
This commit is contained in:
@@ -2406,7 +2406,8 @@ int sftp_rename(sftp_session sftp, const char *original, const char *newname) {
|
|||||||
|
|
||||||
/* Code written by Nick */
|
/* Code written by Nick */
|
||||||
/* Set file attributes on a file, directory or symbolic link. */
|
/* Set file attributes on a file, directory or symbolic link. */
|
||||||
int sftp_setstat(sftp_session sftp, const char *file, sftp_attributes attr) {
|
int sftp_setstat(sftp_session sftp, const char *file, sftp_attributes attr)
|
||||||
|
{
|
||||||
uint32_t id;
|
uint32_t id;
|
||||||
ssh_buffer buffer;
|
ssh_buffer buffer;
|
||||||
ssh_string path;
|
ssh_string path;
|
||||||
|
|||||||
Reference in New Issue
Block a user