diff options
author | Darren Tucker <dtucker@zip.com.au> | 2008-06-08 19:32:29 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2008-06-08 19:32:29 +0200 |
commit | 598eaa6c0c36c3169963c7e6505d53b4073590f5 (patch) | |
tree | 52872f9bfe82fd5a3e1b1a059bd063351bfbadd7 /sftp.c | |
parent | - djm@cvs.openbsd.org 2008/06/07 21:52:46 (diff) | |
download | openssh-598eaa6c0c36c3169963c7e6505d53b4073590f5.tar.xz openssh-598eaa6c0c36c3169963c7e6505d53b4073590f5.zip |
- (dtucker) [configure.ac defines.h sftp-client.c sftp-server.c sftp.c
openbsd-compat/Makefile.in openbsd-compat/openbsd-compat.h
openbsd-compat/bsd-statvfs.{c,h}] Add a null implementation of statvfs and
fstatvfs and remove #defines around statvfs code. ok djm@
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -842,7 +842,6 @@ do_globbed_ls(struct sftp_conn *conn, char *path, char *strip_path, static int do_df(struct sftp_conn *conn, char *path, int hflag, int iflag) { -#ifdef USE_STATVFS struct statvfs st; char s_used[FMT_SCALED_STRSIZE]; char s_avail[FMT_SCALED_STRSIZE]; @@ -888,10 +887,6 @@ do_df(struct sftp_conn *conn, char *path, int hflag, int iflag) st.f_blocks)); } return 0; -#else - error("client does not support statvfs extension"); - return -1; -#endif } /* |