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

Comparing ircd-hybrid/branches/8.2.x/src/conf.c (file contents):
Revision 7223 by michael, Wed Feb 3 15:22:04 2016 UTC vs.
Revision 7224 by michael, Wed Feb 3 15:47:51 2016 UTC

# Line 1054 | Line 1054 | static const struct oper_privs
1054   const char *
1055   oper_privs_as_string(const unsigned int port)
1056   {
1057 <  static char privs_out[IRCD_BUFSIZE];
1057 >  static char privs_out[sizeof(flag_list) / sizeof(struct oper_privs)];
1058    char *privs_ptr = privs_out;
1059  
1060    for (const struct oper_privs *opriv = flag_list; opriv->flag; ++opriv)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines