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

Comparing ircd-hybrid/trunk/src/s_user.c (file contents):
Revision 1792 by michael, Wed Jan 16 18:30:52 2013 UTC vs.
Revision 1793 by michael, Sun Mar 31 14:06:08 2013 UTC

# Line 32 | Line 32
32   #include "fdlist.h"
33   #include "hash.h"
34   #include "irc_string.h"
35 #include "sprintf_irc.h"
35   #include "s_bsd.h"
36   #include "ircd.h"
37   #include "listener.h"
# Line 1441 | Line 1440 | rebuild_isupport_message_line(void)
1440    {
1441      struct Isupport *support = ptr->data;
1442  
1443 <    p += (n = ircsprintf(p, "%s", support->name));
1443 >    p += (n = sprintf(p, "%s", support->name));
1444      len += n;
1445  
1446      if (support->options != NULL)
1447      {
1448 <      p += (n = ircsprintf(p, "=%s", support->options));
1448 >      p += (n = sprintf(p, "=%s", support->options));
1449        len += n;
1450      }
1451  
1452      if (support->number > 0)
1453      {
1454 <      p += (n = ircsprintf(p, "=%d", support->number));
1454 >      p += (n = sprintf(p, "=%d", support->number));
1455        len += n;
1456      }
1457  

Diff Legend

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