diff options
Diffstat (limited to 'sftp-client.c')
-rw-r--r-- | sftp-client.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sftp-client.c b/sftp-client.c index c12d1d38e..7df46379c 100644 --- a/sftp-client.c +++ b/sftp-client.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-client.c,v 1.77 2007/09/16 00:55:52 djm Exp $ */ | 1 | /* $OpenBSD: sftp-client.c,v 1.78 2008/01/11 07:22:27 chl Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -534,6 +534,7 @@ do_lstat(struct sftp_conn *conn, char *path, int quiet) | |||
534 | return(get_decode_stat(conn->fd_in, id, quiet)); | 534 | return(get_decode_stat(conn->fd_in, id, quiet)); |
535 | } | 535 | } |
536 | 536 | ||
537 | #ifdef notyet | ||
537 | Attrib * | 538 | Attrib * |
538 | do_fstat(struct sftp_conn *conn, char *handle, u_int handle_len, int quiet) | 539 | do_fstat(struct sftp_conn *conn, char *handle, u_int handle_len, int quiet) |
539 | { | 540 | { |
@@ -545,6 +546,7 @@ do_fstat(struct sftp_conn *conn, char *handle, u_int handle_len, int quiet) | |||
545 | 546 | ||
546 | return(get_decode_stat(conn->fd_in, id, quiet)); | 547 | return(get_decode_stat(conn->fd_in, id, quiet)); |
547 | } | 548 | } |
549 | #endif | ||
548 | 550 | ||
549 | int | 551 | int |
550 | do_setstat(struct sftp_conn *conn, char *path, Attrib *a) | 552 | do_setstat(struct sftp_conn *conn, char *path, Attrib *a) |
@@ -686,6 +688,7 @@ do_symlink(struct sftp_conn *conn, char *oldpath, char *newpath) | |||
686 | return(status); | 688 | return(status); |
687 | } | 689 | } |
688 | 690 | ||
691 | #ifdef notyet | ||
689 | char * | 692 | char * |
690 | do_readlink(struct sftp_conn *conn, char *path) | 693 | do_readlink(struct sftp_conn *conn, char *path) |
691 | { | 694 | { |
@@ -732,6 +735,7 @@ do_readlink(struct sftp_conn *conn, char *path) | |||
732 | 735 | ||
733 | return(filename); | 736 | return(filename); |
734 | } | 737 | } |
738 | #endif | ||
735 | 739 | ||
736 | static void | 740 | static void |
737 | send_read_request(int fd_out, u_int id, u_int64_t offset, u_int len, | 741 | send_read_request(int fd_out, u_int id, u_int64_t offset, u_int len, |