=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/ftp.c,v retrieving revision 1.89 retrieving revision 1.90 diff -c -r1.89 -r1.90 *** src/usr.bin/ftp/ftp.c 2015/01/16 06:40:08 1.89 --- src/usr.bin/ftp/ftp.c 2015/01/30 04:45:45 1.90 *************** *** 1,4 **** ! /* $OpenBSD: ftp.c,v 1.89 2015/01/16 06:40:08 deraadt Exp $ */ /* $NetBSD: ftp.c,v 1.27 1997/08/18 10:20:23 lukem Exp $ */ /* --- 1,4 ---- ! /* $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,713 **** 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; --- 707,712 ---- *************** *** 759,765 **** switch (curtype) { case TYPE_I: - case TYPE_L: d = 0; while ((c = read(fileno(fin), buf, sizeof(buf))) > 0) { may_send_noop_char(); --- 758,763 ---- *************** *** 1075,1081 **** switch (curtype) { case TYPE_I: - case TYPE_L: if (restart_point && lseek(fileno(fout), restart_point, SEEK_SET) < 0) { warn("local: %s", local); --- 1073,1078 ----