diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-01-30 04:45:46 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-01-30 04:45:46 +0000 |
commit | c4ab2285c41f850692db5fa2ac3e4de6a79aa18b (patch) | |
tree | 1837e16a65730d51174e452e6e5c1b47de1c6646 /usr.bin/ftp/ftp.c | |
parent | 6e8586bf41a596d54b8c5c4c7785303029eeea7f (diff) |
remove tenex transfer support. if you still have TOPS20 machines in
service, you'll need to stick with openbsd 5.6.
bonus: remove references to ebcdic.
ok deraadt
Diffstat (limited to 'usr.bin/ftp/ftp.c')
-rw-r--r-- | usr.bin/ftp/ftp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/ftp/ftp.c b/usr.bin/ftp/ftp.c index 717a9164dca..f898f009230 100644 --- a/usr.bin/ftp/ftp.c +++ b/usr.bin/ftp/ftp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftp.c,v 1.89 2015/01/16 06:40:08 deraadt Exp $ */ +/* $OpenBSD: ftp.c,v 1.90 2015/01/30 04:45:45 tedu Exp $ */ /* $NetBSD: ftp.c,v 1.27 1997/08/18 10:20:23 lukem Exp $ */ /* @@ -707,7 +707,6 @@ sendrequest(const char *cmd, const char *local, const char *remote, rc = fseeko(fin, restart_point, SEEK_SET); break; case TYPE_I: - case TYPE_L: if (lseek(fileno(fin), restart_point, SEEK_SET) != -1) rc = 0; break; @@ -759,7 +758,6 @@ sendrequest(const char *cmd, const char *local, const char *remote, switch (curtype) { case TYPE_I: - case TYPE_L: d = 0; while ((c = read(fileno(fin), buf, sizeof(buf))) > 0) { may_send_noop_char(); @@ -1075,7 +1073,6 @@ recvrequest(const char *cmd, const char * volatile local, const char *remote, switch (curtype) { case TYPE_I: - case TYPE_L: if (restart_point && lseek(fileno(fout), restart_point, SEEK_SET) < 0) { warn("local: %s", local); |