diff options
author | Kevin Steves <stevesk@pobox.com> | 2001-02-05 13:42:17 +0100 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2001-02-05 13:42:17 +0100 |
commit | ef4eea9badfb65f05ac24f786b710cc3f27f0e43 (patch) | |
tree | f54abef181ccd6ad5285a5c16b4c159d8b74e932 /sftp-server.c | |
parent | - (bal) AIX patch for auth1.c by William L. Jones <jones@hpc.utexas.edu> (diff) | |
download | openssh-ef4eea9badfb65f05ac24f786b710cc3f27f0e43.tar.xz openssh-ef4eea9badfb65f05ac24f786b710cc3f27f0e43.zip |
- 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 0e0040094..51026de4e 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); |