summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-05-24 19:31:26 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-05-24 19:31:26 +0000
commiteaca002785df9a2fda9f196af63cac96d0f7da64 (patch)
tree6f0339d5b019162b5b11ce28dc3bcd61a8d7d41a
parent3e28c7a178b89f0f4b43bdadb10d96ba20ca7846 (diff)
Notes
-rw-r--r--release/sysinstall/ftp.c8
-rw-r--r--usr.sbin/sysinstall/ftp.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/release/sysinstall/ftp.c b/release/sysinstall/ftp.c
index 0564aea12c55..e73804858bdc 100644
--- a/release/sysinstall/ftp.c
+++ b/release/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);
}
diff --git a/usr.sbin/sysinstall/ftp.c b/usr.sbin/sysinstall/ftp.c
index 0564aea12c55..e73804858bdc 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);
}