| Summary: | ftpd does not compile without virtual hosting support | ||
|---|---|---|---|
| Product: | Base System | Reporter: | master <master> |
| Component: | bin | Assignee: | dd <dd> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.2-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
master
2001-01-06 14:30:01 UTC
Responsible Changed From-To: gnats-admin->freebsd-bugs Misfiled 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 ||
State Changed From-To: open->analyzed Fixed in -current. Responsible Changed From-To: freebsd-bugs->dd My MFC reminder. State Changed From-To: analyzed->closed MFC'd |