consistency in naming for realname
This commit is contained in:
parent
e9faf5c2ba
commit
7d070fe827
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue