summaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/ftp.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-05-26 19:28:06 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-05-26 19:28:06 +0000
commit2d7d54b2b420da74df0cf66dabd7133216f59a2b (patch)
tree997fee1538b557fbf986fbd9bdde12b7d18b2206 /usr.sbin/sysinstall/ftp.c
parent694ae09c0525ddcb0ac281a6335ba19c061c9d86 (diff)
Notes
Diffstat (limited to 'usr.sbin/sysinstall/ftp.c')
-rw-r--r--usr.sbin/sysinstall/ftp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/ftp.c b/usr.sbin/sysinstall/ftp.c
index 937f59610c2a..02e6c194deb4 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.8 1995/05/24 19:31:26 phk Exp $
+ * $Id: ftp.c,v 1.9 1995/05/25 06:15:38 phk Exp $
*
*/
@@ -229,10 +229,12 @@ FtpOpen(FTP_t ftp, char *host, char *user, char *passwd)
ftp->state = isopen;
return 0;
+#if 0
fail:
close(ftp->fd_ctrl);
ftp->fd_ctrl = -1;
return -1;
+#endif
}
void