summaryrefslogtreecommitdiff
path: root/sftp-server.c
diff options
context:
space:
mode:
authorstevesk <stevesk>2001-01-24 20:11:06 +0000
committerstevesk <stevesk>2001-01-24 20:11:06 +0000
commit50d535cf4080c23dd9f34384b42c4685c8b1473f (patch)
tree4cb7cf88f0e3ac92d90834d19d2557ef8ad4c072 /sftp-server.c
parent4f8e99444c7382807e774956fba559b576bc4e2d (diff)
downloadopenssh-50d535cf4080c23dd9f34384b42c4685c8b1473f.tar.gz
- (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 92f15880..18ee7355 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -669,14 +669,14 @@ process_fsetstat(void)
int handle, fd, ret;
int status = SSH2_FX_OK;
char *name;
-
+
id = get_int();
handle = get_handle();
a = get_attrib();
TRACE("fsetstat id %d handle %d", id, handle);
fd = handle_to_fd(handle);
name = handle_to_name(handle);
- if ((fd < 0) || (name == NULL)) {
+ if (fd < 0 || name == NULL) {
status = SSH2_FX_FAILURE;
} else {
if (a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS) {