summaryrefslogtreecommitdiff
path: root/sftp-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-server.c')
-rw-r--r--sftp-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp-server.c b/sftp-server.c
index 92f158801..18ee73552 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -669,14 +669,14 @@ process_fsetstat(void)
669 int handle, fd, ret; 669 int handle, fd, ret;
670 int status = SSH2_FX_OK; 670 int status = SSH2_FX_OK;
671 char *name; 671 char *name;
672 672
673 id = get_int(); 673 id = get_int();
674 handle = get_handle(); 674 handle = get_handle();
675 a = get_attrib(); 675 a = get_attrib();
676 TRACE("fsetstat id %d handle %d", id, handle); 676 TRACE("fsetstat id %d handle %d", id, handle);
677 fd = handle_to_fd(handle); 677 fd = handle_to_fd(handle);
678 name = handle_to_name(handle); 678 name = handle_to_name(handle);
679 if ((fd < 0) || (name == NULL)) { 679 if (fd < 0 || name == NULL) {
680 status = SSH2_FX_FAILURE; 680 status = SSH2_FX_FAILURE;
681 } else { 681 } else {
682 if (a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS) { 682 if (a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS) {