Fix the typos in the last commit so it compiles and works.

This commit is contained in:
B.Greenham 2010-03-03 01:00:07 -05:00
parent e787d3a226
commit e6f2e49e86
1 changed files with 4 additions and 4 deletions

View File

@ -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);