[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hello World!



> if(novice_users != usethismailinglist){
> 	reply_with_aGET_the_hell_out_email;
> }
> else{
> 	let_a_noviceKNOW_what_he_is_allowed_to_ask;
> }

That's some very ugly code :) .  Here's a cleanup:

#ifdef CONFIG_GOOD_MOOD
if(novice_users != use_this_mailing_list) {
       /* OPEC tactics: intimidate the punk,
          so the demand for computer experts
          remains high. */
	reply(MSGTYPE_SMTP, REPLY_GET_THE_HELL_OUT);
} else {
	/* My job doesn't depend on it anyway. */
	reply(MSGTYPE_SMTP, REPLY_LINUX_DEBIAN_RELATED);
}
#endif

-- 
"I already have all the latest software."
     -- Laura Winslow, "Family Matters"

Dwayne C. Litzenberger - dlitz@cheerful.com

Advertising Policy: http://DLitzPower.tripod.com/spamoff.htm
GnuPG Public Key:   http://DLitzPower.tripod.com/gpgkey.asc
     Fingerprint:   0535 F7CF FF5F 8547 E5A5  695E 4456 FB6C BC39 A4B0

Attachment: pgpmU9im83xtb.pgp
Description: PGP signature


Reply to: