summaryrefslogtreecommitdiff
path: root/sftp-server.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-01-24 20:11:06 +0000
committerKevin Steves <stevesk@pobox.com>2001-01-24 20:11:06 +0000
commitf7ffab3ca8e8fff8a6567ca0aa8560401825ada5 (patch)
tree76e463fa95047d5c9e3a3f8f3508c108659fa297 /sftp-server.c
parentb6b37ba475ef89dadefd00f952a4311101dc2036 (diff)
- (stevesk) sftp-server.c: KNF
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) {