ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/m_accept.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/modules/m_accept.c (file contents):
Revision 6544 by michael, Mon Aug 31 17:06:19 2015 UTC vs.
Revision 6545 by michael, Wed Sep 16 19:54:01 2015 UTC

# Line 130 | Line 130 | m_accept(struct Client *source_p, int pa
130      return 0;
131    }
132  
133 <  for (mask = strtoken(&p, mask, ","); mask;
134 <       mask = strtoken(&p, NULL, ","))
133 >  for (mask = strtok_r(mask, ",", &p); mask;
134 >       mask = strtok_r(NULL, ",", &p))
135    {
136      if (*mask == '-' && *++mask)
137      {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines