ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/reslib.c
(Generate patch)

Comparing ircd-hybrid-7.2/src/irc_reslib.c (file contents):
Revision 993 by michael, Thu Aug 20 10:44:18 2009 UTC vs.
Revision 995 by michael, Fri Aug 21 10:11:14 2009 UTC

# Line 96 | Line 96
96  
97   struct irc_ssaddr irc_nsaddr_list[IRCD_MAXNS];
98   int irc_nscount = 0;
99 char irc_domain[HOSTLEN + 1];
99  
100   static const char digitvalue[256] = {
101    -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /*16*/
# Line 209 | Line 208 | parse_resvconf(void)
208      if ((p = strpbrk(arg, " \t")) != NULL)
209        *p = '\0';  /* take the first word */
210  
211 <    if (irccmp(opt, "domain") == 0)
213 <      strlcpy(irc_domain, arg, HOSTLEN);
214 <    else if (irccmp(opt, "nameserver") == 0)
211 >    if (irccmp(opt, "nameserver") == 0)
212        add_nameserver(arg);
213    }
214  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)