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

Comparing ircd-hybrid-8/modules/m_userhost.c (file contents):
Revision 1230 by michael, Thu Sep 22 19:41:19 2011 UTC vs.
Revision 1233 by michael, Thu Sep 22 20:53:07 2011 UTC

# Line 54 | Line 54 | m_userhost(struct Client *client_p, stru
54    int cur_len;
55    int rl;
56  
57 <  cur_len = ircsprintf(buf, form_str(RPL_USERHOST), me.name, source_p->name, "");
57 >  cur_len = snprintf(buf, sizeof(buf), form_str(RPL_USERHOST), me.name, source_p->name, "");
58    t = buf + cur_len;
59  
60    for (nick = strtoken(&p, parv[1], " "); nick && i++ < 5;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines