Subject: Re: why no debugging in daemon mode

From: Coranth Gryphon <[email-masked]>
Date: Mon, 01 Feb 1999 09:15:37 -0800

> turns out) of ftpd.c at the end of DAEMON
> definition sections:
>     debug = 0;
> #endif /* DAEMON */
> 

I think this is a side effect of some of the other
code moves (mainly socket stuff) that moved after
the getopt() call when shifting to Daemon mode.

I moved the "debug=0" up to where the variable
is initialized 

	-	int debug;
	+	int debug = 0;

and everything works fine in Daemon mode.

-coranth