Fix the typos in the last commit so it compiles and works.
This commit is contained in:
parent
e787d3a226
commit
e6f2e49e86
|
@ -577,13 +577,13 @@ conf_end_oper(struct TopConf *tc)
|
|||
else
|
||||
conf_report_error("Ignoring vhost setting for oper %s -- invalid hostmask.", yy_oper->name);
|
||||
|
||||
if(strlen(yy_oper->swhois < 400))
|
||||
yy_tmpoper->swhois = rb(strdup(yy_oper->swhois);
|
||||
if(strlen(yy_oper->swhois) < 400)
|
||||
yy_tmpoper->swhois = rb_strdup(yy_oper->swhois);
|
||||
else
|
||||
conf_report_error("Ignoring swhois setting for oper %s -- swhois too long.", yy_oper->name);
|
||||
|
||||
if(strlen(yy_oper->operstring < 400))
|
||||
yy_tmpoper->operstring = rb(strdup(yy_oper->operstring);
|
||||
if(strlen(yy_oper->operstring) < 400)
|
||||
yy_tmpoper->operstring = rb_strdup(yy_oper->operstring);
|
||||
else
|
||||
conf_report_error("Ignoring operstring setting for oper %s -- operstring too long.", yy_oper->name);
|
||||
|
||||
|
|
Loading…
Reference in New Issue