consistency in naming for realname

This commit is contained in:
Mark 2004-02-26 00:14:21 +00:00
parent e9faf5c2ba
commit 7d070fe827

View file

@ -622,10 +622,10 @@ static void LoadConfig(void)
free(temp);
}
if(GetConf((void *) &temp, CFGSTR, "RealName") < 0) {
strlcpy(cs_cfg.rname, "Connection Monitoring Service", MAXREALNAME);
strlcpy(cs_cfg.realname, "Connection Monitoring Service", MAXREALNAME);
}
else {
strlcpy(cs_cfg.rname, temp, MAXREALNAME);
strlcpy(cs_cfg.realname, temp, MAXREALNAME);
free(temp);
}
}