summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/ftp.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-29 11:01:42 +0000
committerjkh <jkh@FreeBSD.org>1995-05-29 11:01:42 +0000
commit4bc5a2dda3322237aff9d99c18e2080f78559ba4 (patch)
treef98b313f289088a0f9384387c68ec7516031cc7e /release/sysinstall/ftp.c
parent56df30b7c63bbeceb73f75bc2eb45c0e1c271e5e (diff)
downloadFreeBSD-src-4bc5a2dda3322237aff9d99c18e2080f78559ba4.zip
FreeBSD-src-4bc5a2dda3322237aff9d99c18e2080f78559ba4.tar.gz
Sync up my work for the night. This should implement ALL possible
installation methods and provide a fairly robust set of menu options. This should also fix a few more bugs on Poul-Henning's latest gripe list.
Diffstat (limited to 'release/sysinstall/ftp.c')
-rw-r--r--release/sysinstall/ftp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/sysinstall/ftp.c b/release/sysinstall/ftp.c
index 317e8a8..59060b6 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.10 1995/05/26 19:28:01 jkh Exp $
+ * $Id: ftp.c,v 1.11 1995/05/27 06:19:59 phk Exp $
*
*/
@@ -48,7 +48,8 @@ debug(FTP_t ftp, const char *fmt, ...)
#ifdef STANDALONE_FTP
write(ftp->fd_debug,p,strlen(p));
#else
- msgDebug(p);
+ if (isDebug())
+ msgDebug(p);
#endif
}
OpenPOWER on IntegriCloud