diff options
author | stevesk <stevesk> | 2001-02-05 12:42:17 +0000 |
---|---|---|
committer | stevesk <stevesk> | 2001-02-05 12:42:17 +0000 |
commit | f4de84d0805289218d877ba316cf77a5f3ba0304 (patch) | |
tree | 15a85491db7ea4e43d44b71c784147426e50fb33 /sftp-server.c | |
parent | d1a62b3bb14df35325720b5e3e0c817c53afe699 (diff) | |
download | openssh-f4de84d0805289218d877ba316cf77a5f3ba0304.tar.gz |
- stevesk@cvs.openbsd.org 2001/02/04 08:32:27
[many files; did this manually to our top-level source dir]
unexpand and remove end-of-line whitespace; ok markus@
Diffstat (limited to 'sftp-server.c')
-rw-r--r-- | sftp-server.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sftp-server.c b/sftp-server.c index 0e004009..51026de4 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -207,7 +207,7 @@ handle_to_dir(int handle) int handle_to_fd(int handle) { - if (handle_is_ok(handle, HANDLE_FILE)) + if (handle_is_ok(handle, HANDLE_FILE)) return handles[handle].fd; return -1; } @@ -616,7 +616,7 @@ process_opendir(void) id = get_int(); path = get_string(NULL); TRACE("opendir id %d path %s", id, path); - dirp = opendir(path); + dirp = opendir(path); if (dirp == NULL) { status = errno_to_portable(errno); } else { @@ -627,7 +627,7 @@ process_opendir(void) send_handle(id, handle); status = SSH2_FX_OK; } - + } if (status != SSH2_FX_OK) send_status(id, status); @@ -932,7 +932,7 @@ main(int ac, char **av) handle_init(); #ifdef DEBUG_SFTP_SERVER - log_init("sftp-server", SYSLOG_LEVEL_DEBUG1, SYSLOG_FACILITY_AUTH, 0); + log_init("sftp-server", SYSLOG_LEVEL_DEBUG1, SYSLOG_FACILITY_AUTH, 0); #endif in = dup(STDIN_FILENO); |