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

Comparing ircd-hybrid/branches/8.2.x/src/channel_mode.c (file contents):
Revision 3377 by michael, Thu Apr 24 16:15:51 2014 UTC vs.
Revision 3505 by michael, Sat May 10 19:51:42 2014 UTC

# Line 193 | Line 193 | add_id(struct Client *client_p, struct C
193  
194    if (IsClient(client_p))
195    {
196 <    ban_p->who = MyMalloc(strlen(client_p->name) +
196 >    ban_p->who = MyCalloc(strlen(client_p->name) +
197                            strlen(client_p->username) +
198                            strlen(client_p->host) + 3);
199      sprintf(ban_p->who, "%s!%s@%s", client_p->name,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines