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

Comparing ircd-hybrid-8/modules/m_whois.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 300 | Line 300 | whois_person(struct Client *source_p, st
300               me.name, source_p->name, target_p->name,
301               target_p->username, target_p->host, target_p->info);
302  
303 <  cur_len = mlen = ircsprintf(buf, form_str(RPL_WHOISCHANNELS),
304 <             me.name, source_p->name, target_p->name, "");
303 >  cur_len = mlen = snprintf(buf, sizeof(buf), form_str(RPL_WHOISCHANNELS),
304 >                            me.name, source_p->name, target_p->name, "");
305    t = buf + mlen;
306  
307    DLINK_FOREACH(lp, target_p->channel.head)

Diff Legend

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