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

Comparing ircd-hybrid/trunk/src/s_serv.c (file contents):
Revision 2308 by michael, Tue Jun 18 18:02:14 2013 UTC vs.
Revision 2309 by michael, Wed Jun 19 20:48:02 2013 UTC

# Line 640 | Line 640 | sendnick_TS(struct Client *client_p, str
640   const char *
641   show_capabilities(const struct Client *target_p)
642   {
643 <  static char msgbuf[IRCD_BUFSIZE] = "TS";
643 >  static char msgbuf[IRCD_BUFSIZE] = "";
644    const dlink_node *ptr = NULL;
645  
646 +  strlcpy(msgbuf, "TS", sizeof(msgbuf));
647 +
648    DLINK_FOREACH(ptr, cap_list.head)
649    {
650      const struct Capability *cap = ptr->data;

Diff Legend

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