- (stevesk) sftp-server.c: KNF

This commit is contained in:
Kevin Steves 2001-01-24 20:11:06 +00:00
parent b6b37ba475
commit f7ffab3ca8
1 changed files with 2 additions and 2 deletions

View File

@ -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) {