summaryrefslogtreecommitdiff
path: root/sftp-client.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-06-09 03:32:29 +1000
committerDarren Tucker <dtucker@zip.com.au>2008-06-09 03:32:29 +1000
commit598eaa6c0c36c3169963c7e6505d53b4073590f5 (patch)
tree52872f9bfe82fd5a3e1b1a059bd063351bfbadd7 /sftp-client.c
parent294b84183265a9be32971fce856e578160e1a825 (diff)
- (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-client.c')
-rw-r--r--sftp-client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sftp-client.c b/sftp-client.c
index 512a8ad4b..1fda576b4 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -243,7 +243,6 @@ get_decode_stat(int fd, u_int expected_id, int quiet)
243 return(a); 243 return(a);
244} 244}
245 245
246#ifdef USE_STATVFS
247static int 246static int
248get_decode_statvfs(int fd, struct statvfs *st, u_int expected_id, int quiet) 247get_decode_statvfs(int fd, struct statvfs *st, u_int expected_id, int quiet)
249{ 248{
@@ -293,7 +292,6 @@ get_decode_statvfs(int fd, struct statvfs *st, u_int expected_id, int quiet)
293 292
294 return 0; 293 return 0;
295} 294}
296#endif
297 295
298struct sftp_conn * 296struct sftp_conn *
299do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests) 297do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests)
@@ -813,7 +811,6 @@ do_readlink(struct sftp_conn *conn, char *path)
813} 811}
814#endif 812#endif
815 813
816#ifdef USE_STATVFS
817int 814int
818do_statvfs(struct sftp_conn *conn, const char *path, struct statvfs *st, 815do_statvfs(struct sftp_conn *conn, const char *path, struct statvfs *st,
819 int quiet) 816 int quiet)
@@ -839,7 +836,6 @@ do_statvfs(struct sftp_conn *conn, const char *path, struct statvfs *st,
839 836
840 return get_decode_statvfs(conn->fd_in, st, id, quiet); 837 return get_decode_statvfs(conn->fd_in, st, id, quiet);
841} 838}
842#endif
843 839
844#ifdef notyet 840#ifdef notyet
845int 841int