rem: if (!config.readEntry("explicitDomainName", QString::null).isEmpty())
add: if (!config.readEntry("explicitDomainName").isEmpty())
context: QString getFQDomainName (const KConfig& config){	FUNCTIONSETUP;	QString fqDomainName;	// Has the user given an explicit domain name?	int useExplicitDomainName = 0;	if (!config.readEntry("explicitDomainName", QString::null).isEmpty())		useExplicitDomainName = 1;	// Or was it given in the MAILDOMAIN environment variable?	if (!useExplicitDomainName && getenv ("MAILDOMAIN"))		useExplicitDomainName = 2;#ifdef DEBUG	DEBUGCONDUIT << fname << ": EDN=" << config.readEntry("explicitDomainName", QString::null) << endl;	DEBUGCONDUIT << fname << ": useEDN=" << useExplicitDomainName << endl;#endif	if (useExplicitDomainName > 0) {		// User has provided the FQDN either in config or in environment.		if (useExplicitDomainName == 2) {			fqDomainName = "$MAILDOMAIN";		} else {			// Use explicitly configured FQDN.			// The domain name can also be the name of an environment variable.			fqDomainName = config.readEntry("explicitDomainName", CSL1("$MAILDOMAIN"));#ifdef DEBUG			DEBUGCONDUIT << fname << ": got from config" << endl;#endif		}		// Get FQDN from environment, from given variable.		if (fqDomainName.left(1) == CSL1("$")) {			QString envVar = fqDomainName.mid (1);			char* envDomain = getenv (envVar.latin1());			if (envDomain) {				fqDomainName = envDomain;#ifdef DEBUG				DEBUGCONDUIT << fname << ": got from env" << endl;#endif			} else {				// Ummh... It didn't exist, fall back to using system domain name				useExplicitDomainName = false;#ifdef DEBUG				DEBUGCONDUIT << fname << ": Promised domain name environment variable "							 << fqDomainName << " wasn't available." << endl;#endif			}		}	}	if (useExplicitDomainName == 0) {		// We trust in the system FQDN domain name		struct utsname u;		uname (&u);		fqDomainName = u.nodename;#ifdef DEBUG		DEBUGCONDUIT << fname			<< ": Got uname.nodename "			<< u.nodename << endl;#endif	}	return fqDomainName;}