diff options
author | phk <phk@FreeBSD.org> | 1995-05-24 19:31:26 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-05-24 19:31:26 +0000 |
commit | 0d516486376ee4545b4349c17840936874702f78 (patch) | |
tree | 6f0339d5b019162b5b11ce28dc3bcd61a8d7d41a /usr.sbin/sysinstall/ftp.c | |
parent | 2b48371da82e75f9fc49fbf3b430bd3c9f3cb7e2 (diff) | |
download | FreeBSD-src-0d516486376ee4545b4349c17840936874702f78.zip FreeBSD-src-0d516486376ee4545b4349c17840936874702f78.tar.gz |
Never commit before breakfast: A typo. Sorry Gary.
Diffstat (limited to 'usr.sbin/sysinstall/ftp.c')
-rw-r--r-- | usr.sbin/sysinstall/ftp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/ftp.c b/usr.sbin/sysinstall/ftp.c index 0564aea..e738048 100644 --- a/usr.sbin/sysinstall/ftp.c +++ b/usr.sbin/sysinstall/ftp.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: ftp.c,v 1.6 1995/05/24 18:21:48 jkh Exp $ + * $Id: ftp.c,v 1.7 1995/05/24 18:35:10 phk Exp $ * */ @@ -146,7 +146,7 @@ FtpInit() return ftp; memset(ftp, 0, sizeof *ftp); ftp->fd_ctrl = -1; - ftp->fd_extr = -1; + ftp->fd_xfer = -1; ftp->fd_debug = -1; ftp->state = init; return ftp; @@ -314,8 +314,8 @@ FtpEOF(FTP_t ftp) { if (ftp->state != xfer) return botch(ftp,"FtpEOF","xfer"); - close(ftp->fd_extr); - ftp->fd_extr = -1; + close(ftp->fd_xfer); + ftp->fd_xfer = -1; ftp->state = isopen; return get_a_number(ftp,0); } |