Date: Wed, 14 Mar 2001 17:30:02 -0800 (PST) From: Seth Kingsley <sethk@osd.bsdi.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/24106: ftpd does not compile without virtual hosting support Message-ID: <200103150130.f2F1U2706425@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/24106; it has been noted by GNATS.
From: Seth Kingsley <sethk@osd.bsdi.com>
To: freebsd-gnats-submit@FreeBSD.org, master@iaas.msu.ru
Cc:
Subject: Re: bin/24106: ftpd does not compile without virtual hosting support
Date: Wed, 14 Mar 2001 17:25:59 -0800
It looks like somebody was a little over-zealous with an #ifdef. This
patch allows it to compile cleanly with VIRTUAL_HOSTING disabled on
4.2-STABLE:
Index: ftpd.c
===================================================================
RCS file: /ncvs/src/libexec/ftpd/ftpd.c,v
retrieving revision 1.62.2.6
diff -u -r1.62.2.6 ftpd.c
--- ftpd.c 2000/10/23 20:57:54 1.62.2.6
+++ ftpd.c 2001/03/14 23:03:23
@@ -157,10 +157,9 @@
int defumask = CMASK; /* default umask value */
char tmpline[7];
char *hostname;
+int epsvall = 0;
#ifdef VIRTUAL_HOSTING
char *ftpuser;
-
-int epsvall = 0;
static struct ftphost {
struct ftphost *next;
--
|| Seth Kingsley || BSDi/Open Source Division || sethk@osd.bsdi.com ||
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103150130.f2F1U2706425>
