Re: [htdig3-dev] checking conf file values


Subject: Re: [htdig3-dev] checking conf file values
From: Geoff Hutchison (ghutchis@wso.williams.edu)
Date: Tue Jan 04 2000 - 14:16:18 PST


At 12:17 AM -0500 1/4/00, Marc Britten wrote:
>I added a new conf variable for some internal hack that I'm working on,
>however I want to double check and make sure that they didn't leave the
>value blank
>...
>variable being the bad one, but checking for NULL or "" from
>config["variable"] doesn't seem to be working.

Yeah, you want to make sure you're not doing comparisons on pointers.
Most of the code usually checks the length of the string to see if
it's blank. I would assume this will work for you.

Hope that helps,
-Geoff

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Tue Jan 04 2000 - 15:17:01 PST